mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-09-07 03:21:29 +02:00
14 lines
326 B
JavaScript
14 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;
|