mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-10 21:26:56 +01:00
cee42e7a88
* Convert to LF? * Modify gitattributes * Force LF * Git --renormalize * Update .gitattributes to enforce eol=lf * Redo CRLF -> LF on remaining files
15 lines
287 B
JavaScript
15 lines
287 B
JavaScript
import quake1 from './quake1.js'
|
|
|
|
export default 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
|
|
}
|
|
}
|