From: Carl Worth Date: Sat, 27 Jun 2020 16:25:20 +0000 (-0700) Subject: empathy: Don't count inactive players to advance from answering phase X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=ca261367bfa9dbb281a09547548c6695df91bb86;hp=ca261367bfa9dbb281a09547548c6695df91bb86;p=empires-server empathy: Don't count inactive players to advance from answering phase This commit implements the desired behavior described in the previous commit message. The test case that was added in that commit now passes, (as does the entire test suite). In the implementation here, we need a count of all player that have the active property set to true. Instead of looping over the array and counting this, we have the Game class track this count as players are added and removed. ---