mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-18 01:30:39 +01:00
13 lines
326 B
JavaScript
13 lines
326 B
JavaScript
class Warsow extends require('./quake3') {
|
|
finalizeState(state) {
|
|
super.finalizeState(state);
|
|
if(state.players) {
|
|
for(const player of state.players) {
|
|
player.team = player.address;
|
|
delete player.address;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = Warsow;
|