diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-05-22 14:43:41 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 26166584c8224fe3df25fffedf719df28a3d82c4 (patch) | |
tree | d6f4d10a910d7d29c4fdc8c9a2e254fa215b1904 | |
parent | 77a8372e46fd40b5d165b7c60085c242fb258e7a (diff) | |
download | 300-earth-and-water-26166584c8224fe3df25fffedf719df28a3d82c4.tar.gz |
Purge unused "Both" active player.
-rw-r--r-- | rules.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -49,7 +49,6 @@ exports.roles = [ const OBSERVER = "Observer"; const GREECE = "Greece"; const PERSIA = "Persia"; -const BOTH = "Both"; const RESERVE = "reserve"; const ABYDOS = "Abydos"; @@ -299,7 +298,7 @@ function gen_action_undo(view) { } function is_inactive_player(current) { - return current === OBSERVER || (game.active !== current && game.active !== BOTH); + return game.active !== current; } function gen_action(view, action, argument) { |