summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 8d98a63..303c5ce 100644
--- a/rules.js
+++ b/rules.js
@@ -3826,7 +3826,7 @@ states.forced_marches = {
set_unit_hex(who, to)
}
} else {
- log(`>${die_face_miss[roll]} disrupted at #${to}`)
+ log(`>${die_face_miss[roll]} disrupted at #${from}`)
set_unit_hex(who, from)
if (is_unit_disrupted(who))
reduce_unit(who) // was a retreating unit
@@ -5711,7 +5711,7 @@ function gen_spending_bps() {
// Return for Refit
if (from !== base) {
- if (can_move_to(base, 63))
+ if (path_cost[0][base] < 63)
gen_action_hex(friendly_refit())
}