From 6917bf954bae1f2ad9c10378a2b15d2da865d48c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 23 Nov 2024 16:34:12 +0100 Subject: Fix protection range. --- rules.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b03ce2f..7354cfd 100644 --- a/rules.js +++ b/rules.js @@ -987,8 +987,7 @@ for (let s of all_fortresses) function make_protect_range(result, start, here, range) { for (let next of data.cities.adjacent[here]) { - if (next !== start) - set_add(result, next) + set_add(result, next) if (range > 1) make_protect_range(result, start, next, range - 1) } -- cgit v1.2.3