mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
More async
This commit is contained in:
parent
29ce0b82d0
commit
e937c725bb
20 changed files with 100 additions and 86 deletions
|
|
@ -6,6 +6,10 @@ class Hexen2 extends Quake1 {
|
|||
this.sendHeader = '\xFFstatus\x0a';
|
||||
this.responseHeader = '\xffn';
|
||||
}
|
||||
async run(state) {
|
||||
await super.run(state);
|
||||
state.gamePort = this.options.port - 50;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Hexen2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue