From 26166584c8224fe3df25fffedf719df28a3d82c4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 22 May 2022 14:43:41 +0200 Subject: Purge unused "Both" active player. --- rules.js | 3 +-- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3