mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-18 01:30:39 +01:00
15 lines
342 B
JavaScript
15 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;
|