summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index a77b2d5..dff7c44 100644
--- a/rules.js
+++ b/rules.js
@@ -2261,7 +2261,7 @@ function end_move(stop) {
delete game.move
- if (count_friendly_generals(where) > 1)
+ if (is_map_space(where) && count_friendly_generals(where) > 1)
goto_remove_general_after_move(where)
else {
if (stop)