From c34193c64dddf0ebebcd0b466a852ecc933de532 Mon Sep 17 00:00:00 2001 From: GoteGuru Date: Wed, 6 Apr 2022 21:52:30 +0000 Subject: [PATCH] don't promote to capitals. --- modules/submap.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/submap.js b/modules/submap.js index b1b399ae..4d81d38e 100644 --- a/modules/submap.js +++ b/modules/submap.js @@ -152,7 +152,7 @@ window.Submap = (function () { continue; } // find replacement: closest water cell - const [ox, oy] = cells.p[id] + const [ox, oy] = cells.p[id]; const [tx, ty] = projection(x, y, true); oldid = oldCells.q.find(tx,ty,Infinity)[2]; if (!oldid) { @@ -387,7 +387,6 @@ window.Submap = (function () { } if (!b.lock) b.lock = options.lockBurgs; pack.cells.burg[b.cell] = id; - if (options.promoteTown) b.capital = 1; }); }