diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -27,13 +27,14 @@ exports.roles = function (scenario, options) { // === CONSTANTS === -const PLAYER_NAME = [ P1, P2, P3, P4 ] +const PLAYER_NAME = [ P1, P2, P3, P4, "None" ] const PLAYER_INDEX = { [P1]: 0, [P2]: 1, [P3]: 2, [P4]: 3, + "None": 4, "Observer": -1, } @@ -5299,7 +5300,7 @@ function goto_game_end() { function goto_game_over(result, victory) { game.state = "game_over" - game.active = "None" + game.current = 4 // None game.result = result game.victory = victory log_br() |