mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
More async conversion
This commit is contained in:
parent
484e99b29c
commit
efe12a00aa
25 changed files with 774 additions and 858 deletions
|
|
@ -6,7 +6,8 @@ class Quake3 extends Quake2 {
|
|||
this.sendHeader = 'getstatus';
|
||||
this.responseHeader = 'statusResponse';
|
||||
}
|
||||
finalizeState(state) {
|
||||
async run(state) {
|
||||
await super.run(state);
|
||||
state.name = this.stripColors(state.name);
|
||||
for(const key of Object.keys(state.raw)) {
|
||||
state.raw[key] = this.stripColors(state.raw[key]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue