More async conversion

This commit is contained in:
mmorrison 2019-01-10 06:03:07 -06:00
parent 484e99b29c
commit efe12a00aa
25 changed files with 774 additions and 858 deletions

View file

@ -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;