diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-23 16:33:52 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-23 16:33:52 +0100 |
commit | a4ddf08d846fac2b85cd78f69a07ad189637d3ec (patch) | |
tree | e04d3fefb628277ed25e554c46aff0207b2212f2 | |
parent | 8faebe525ea515195a56d47eafe6966cbe9fe79e (diff) | |
download | friedrich-master.tar.gz |
-rw-r--r-- | rules.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -384,8 +384,7 @@ for (let s of all_objectives) { 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) } |