mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 12:31:24 +01:00
don't promote to capitals.
This commit is contained in:
parent
eb4900446d
commit
c34193c64d
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue