mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
More async conversion
This commit is contained in:
parent
484e99b29c
commit
efe12a00aa
25 changed files with 774 additions and 858 deletions
|
|
@ -1,8 +1,8 @@
|
|||
const Quake3 = require('./quake3');
|
||||
|
||||
class Warsow extends Quake3 {
|
||||
finalizeState(state) {
|
||||
super.finalizeState(state);
|
||||
async run(state) {
|
||||
await super.run(state);
|
||||
if(state.players) {
|
||||
for(const player of state.players) {
|
||||
player.team = player.address;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue