summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {