summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index e011bd6..86198ae 100644
--- a/rules.js
+++ b/rules.js
@@ -1446,7 +1446,7 @@ function search_detachment_normal(start, ma) {
function search_detachment_road(start, range) {
let queue = [ start ]
- move_cost.fill(0)
+ move_cost.fill(255)
move_cost[start-1000] = range
move_seen[start-1000] = 1