mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-16 16:58:32 +01:00
12 lines
287 B
JavaScript
12 lines
287 B
JavaScript
module.exports = require('./quake3').extend({
|
|
finalizeState: function(state) {
|
|
this._super(state);
|
|
if(state.players) {
|
|
for(var i = 0; i < state.players.length; i++) {
|
|
var player = state.players[i];
|
|
player.team = player.address;
|
|
delete player.address;
|
|
}
|
|
}
|
|
}
|
|
});
|