mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Merge master into branch
This commit is contained in:
commit
2053a7d530
4 changed files with 13 additions and 4 deletions
|
|
@ -176,7 +176,7 @@ function regenerateProvinces() {
|
|||
|
||||
function regenerateBurgs() {
|
||||
const {cells, states} = pack;
|
||||
const lockedburgs = pack.burgs.filter(b => b.lock);
|
||||
const lockedburgs = pack.burgs.filter(b => b.i && !b.removed && b.lock);
|
||||
rankCells();
|
||||
|
||||
cells.burg = new Uint16Array(cells.i.length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue