]> git.cworth.org Git - empires-server/commit
Implement a more correct response to /reset
authorCarl Worth <cworth@cworth.org>
Mon, 11 May 2020 23:03:54 +0000 (16:03 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 11 May 2020 23:03:54 +0000 (16:03 -0700)
commit528ebf61043635bc939b225ce8e2ff6390cfb8d1
tree606e0b3a30c47e737551e322ffb57a7b9a74956f
parent7363a23acc24ac73720927802043748e602e2da4
Implement a more correct response to /reset

Specifically, we fix things here to clear some internal state that was
previously being missed (the "characters_to_reveal" field) and we also
fix things to report to the clients the new game state and the emptty
list of players.
server.js