node-gamedig/protocols/warsow.js
2017-08-09 05:32:09 -05:00

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;