server for my chess game
Diffstat (limited to 'src/game.js')
| -rw-r--r-- | src/game.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.js b/src/game.js index 197880f..1ef79fe 100644 --- a/src/game.js +++ b/src/game.js @@ -18,7 +18,7 @@ export class Game { this.get_info = this.clients.get_info.bind(this.clients); this.get_ws = this.clients.get_ws.bind(this.clients); this.color_of = this.clients.color_of.bind(this.clients); - this.exists = this.clients.exists.bind(this.clients); + this.alive = this.clients.alive.bind(this.clients); this.remove_client = this.clients.erase.bind(this.clients); this.add_spectator = this.spectators.push; |