diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-06 17:01:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-06 17:01:43 +0100 |
commit | 31a3dcb85433a317d3a150889e1c5a48548b37a3 (patch) | |
tree | 2103e98ac283e960c59e48f3ac76cdde2690471f | |
parent | e90132edeae9935442e1288101eddc06620b81e2 (diff) | |
download | maria-31a3dcb85433a317d3a150889e1c5a48548b37a3.tar.gz |
fix
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |