summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 1224f2f..ca58cb7 100644
--- a/rules.js
+++ b/rules.js
@@ -2353,7 +2353,7 @@ function init_movement() {
function has_unmoved_piece(pow) {
for (let p of all_controlled_pieces(pow))
- if (!set_has(game.moved, p))
+ if (!set_has(game.moved, p) && is_piece_on_map(p))
return true
return false
}