mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-16 08:48:32 +01:00
cee42e7a88
* Convert to LF? * Modify gitattributes * Force LF * Git --renormalize * Update .gitattributes to enforce eol=lf * Redo CRLF -> LF on remaining files
13 lines
284 B
JavaScript
13 lines
284 B
JavaScript
import quake3 from './quake3.js'
|
|
|
|
export default class warsow extends quake3 {
|
|
async run (state) {
|
|
await super.run(state)
|
|
if (state.players) {
|
|
for (const player of state.players) {
|
|
player.team = player.address
|
|
delete player.address
|
|
}
|
|
}
|
|
}
|
|
}
|