summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 1a1d283..368637a 100644
--- a/rules.js
+++ b/rules.js
@@ -2051,7 +2051,8 @@ states.turncoat = {
let dimension = DIMENSION_SPACES[game.where]
view.prompt = "Turncoat in " + DIMENSION_NAME[game.where] + ": Replace an opponent's cube."
for (let s of dimension)
- for_each_enemy_cube(s, gen_action_piece)
+ if (can_replace_cube(s))
+ for_each_enemy_cube(s, gen_action_piece)
},
piece(p) {
let s = game.pieces[p]