node-gamedig/protocols/warsow.js

14 lines
326 B
JavaScript
Raw Normal View History

class Warsow extends require('./quake3') {
2017-08-09 12:32:09 +02:00
finalizeState(state) {
super.finalizeState(state);
if(state.players) {
for(const player of state.players) {
player.team = player.address;
delete player.address;
}
}
}
}
module.exports = Warsow;