mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
refactor(#902): regenerate states - update provinces
This commit is contained in:
parent
77d644afb1
commit
5f1c2adee0
4 changed files with 66 additions and 1495 deletions
|
|
@ -1132,6 +1132,7 @@ function drawBorders() {
|
|||
const provToCell = cells.c[i].find(
|
||||
n => cells.state[n] === s && p > cells.province[n] && pUsed[p][n] !== cells.province[n]
|
||||
);
|
||||
|
||||
if (provToCell) {
|
||||
const provTo = cells.province[provToCell];
|
||||
pUsed[p][provToCell] = provTo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue