Merge master into branch

This commit is contained in:
Guillaume St-Pierre 2022-12-15 09:44:45 -05:00
commit 2053a7d530
4 changed files with 13 additions and 4 deletions

View file

@ -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);