diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-25 17:40:45 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 12:53:17 +0100 |
commit | 983044ccaf8b179f499ca600fddca518be393fa8 (patch) | |
tree | 7e8d86c1875cb4562e4f084ef93dcac61ea01a02 | |
parent | 41561dfa2df32dc1cc34018d6401fe2990145c5c (diff) | |
download | hammer-of-the-scots-983044ccaf8b179f499ca600fddca518be393fa8.tar.gz |
hammer: Fix retreat bug with Norse in area.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -433,9 +433,9 @@ function can_block_retreat_to(who, to) { } function can_block_retreat(who) { - if (who == NORSE) - return true; if (block_owner(who) == game.active) { + if (who == NORSE) + return true; let from = game.location[who]; for (let to of AREAS[from].exits) if (can_block_retreat_to(who, to)) |