summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-22 14:43:41 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit26166584c8224fe3df25fffedf719df28a3d82c4 (patch)
treed6f4d10a910d7d29c4fdc8c9a2e254fa215b1904
parent77a8372e46fd40b5d165b7c60085c242fb258e7a (diff)
download300-earth-and-water-26166584c8224fe3df25fffedf719df28a3d82c4.tar.gz
Purge unused "Both" active player.
-rw-r--r--rules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 56e54af..2ec2062 100644
--- a/rules.js
+++ b/rules.js
@@ -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) {