diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-23 16:34:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-23 16:34:19 +0100 |
commit | 6917bf954bae1f2ad9c10378a2b15d2da865d48c (patch) | |
tree | 6523f8552bc3071a7fcc3354563730ba4a098675 /rules.js | |
parent | f728a123826e13b085f8d88e2e90e78eee9302e8 (diff) | |
download | maria-6917bf954bae1f2ad9c10378a2b15d2da865d48c.tar.gz |
Fix protection range.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) } |