diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-03-31 12:30:04 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-03-31 12:30:04 +0200 |
commit | 5ecc8b276839811d7d665dd3595cbe641bbaaf7b (patch) | |
tree | c62faa16523c365f9dc521e7104fc05282edef4d | |
parent | fcf9f5a4454f9fd42906417369acc3c0a0cde61f (diff) | |
download | richard-iii-5ecc8b276839811d7d665dd3595cbe641bbaaf7b.tar.gz |
Don't allow regroup into enemy exile areas.
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -915,6 +915,8 @@ function can_block_retreat_to(who, to) { } function can_block_regroup_to(who, to) { + if (is_enemy_exile_area(to)) + return false if (is_friendly_area(to) || is_vacant_area(to)) { let from = game.location[who] if (can_block_use_border(who, from, to)) |