Files
game-server-watcher-a-sync/node_modules/gamedig/protocols/warsow.js
Smith a5f3794527 include prod deps in vcs with some exceptions
* cloudno.de has problems installing new dependencies lately..
2022-06-30 22:59:51 +02:00

16 lines
342 B
JavaScript

const Quake3 = require('./quake3');
class Warsow extends Quake3 {
async run(state) {
await super.run(state);
if(state.players) {
for(const player of state.players) {
player.team = player.address;
delete player.address;
}
}
}
}
module.exports = Warsow;