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
14 lines
284 B
JavaScript
14 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
|
|
}
|
|
}
|
|
}
|
|
}
|