]> git.cworth.org Git - empires-server/commitdiff
Add new failing test case for a reactivated player
authorCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 16:35:59 +0000 (09:35 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 16:44:01 +0000 (09:44 -0700)
I noticed that when a player is reactivated, (that is, by starting a
new event stream by means of a cookie associated with a pre-existing
cookie for a player that had been deactivated), the server was not
properly activating the player.

This commit adds a new failing test case that demonstrates the bug. We
reactivate dale for a 4-player game, but then the server advances the
game out of the answering phase when only 3 players have submitted an
answer. This demonstrates that dale isn't being considered active.


No differences found