From 983044ccaf8b179f499ca600fddca518be393fa8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 25 Jun 2021 17:40:45 +0200 Subject: hammer: Fix retreat bug with Norse in area. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index c93998d..7931757 100644 --- a/rules.js +++ b/rules.js @@ -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)) -- cgit v1.2.3