Files
game-server-watcher/node_modules/gamedig/protocols/hexen2.js
Smith a5f3794527 include prod deps in vcs with some exceptions
* cloudno.de has problems installing new dependencies lately..
2022-06-30 22:59:51 +02:00

16 lines
331 B
JavaScript

const Quake1 = require('./quake1');
class Hexen2 extends Quake1 {
constructor() {
super();
this.sendHeader = '\xFFstatus\x0a';
this.responseHeader = '\xffn';
}
async run(state) {
await super.run(state);
state.gamePort = this.options.port - 50;
}
}
module.exports = Hexen2;