diff options
author | Anthony Wang | 2021-05-07 10:30:01 -0500 |
---|---|---|
committer | Anthony Wang | 2021-05-07 10:30:01 -0500 |
commit | 6d0d14e385a9babb52db0564602bca90b684f432 (patch) | |
tree | cc22cb1ff4beba31bbdc60e1ced5843ba181e0e2 /back | |
parent | f43b45d89af841a5c9e9ae66e0c0333730c15c64 (diff) |
Fix a lot of typos
Diffstat (limited to 'back')
-rw-r--r-- | back/src/Game.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/back/src/Game.ts b/back/src/Game.ts index 043e1f2..15155fd 100644 --- a/back/src/Game.ts +++ b/back/src/Game.ts @@ -174,7 +174,7 @@ export default class Game { const p = this.players[this.lastPlayedPlayer]; this.broadcastGameState(); await new Promise<void>(resolve => { - p.client.once('turn', selectedPlayer => { + p.client.once('flip', selectedPlayer => { delete p.disconnectListener; (() => { if (this.players[selectedPlayer].stack.length > 0) { |