]> git.cworth.org Git - empires-server/commitdiff
Use set difference (ANSWERED - JUDGED) to determine whether to advance
authorCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 00:52:06 +0000 (17:52 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 00:52:06 +0000 (17:52 -0700)
This is a bug fix for the bug described and tested in the previous
commit. Previously we were simply comparing the count of players who
had judged with the count of those who had answered.

Here, instead, we compute an actual set difference and only
auto-advance from the judging phase when every player who answered has
also completed judging.

This fix causes the test added in the previous comit to start passing,
so now the entire test suite is passing once again.


No differences found