mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41:23 +01:00
Merge 852fd12e86 into 11099bdd47
This commit is contained in:
commit
d02a2fe4b8
1 changed files with 1 additions and 0 deletions
|
|
@ -4523,6 +4523,7 @@ function fantasyMap() {
|
|||
// highlight capital cells as it's not allowed to change capital's state that way
|
||||
states.map(function(s) {
|
||||
if (s.color === "neutral") {return;}
|
||||
if (s.capital === "select" || !(s.capital in manors)) {return;}
|
||||
const capital = s.capital;
|
||||
const index = manors[capital].cell;
|
||||
temp.append("path")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue