mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.22.07
This commit is contained in:
parent
33ac4b5434
commit
e6609dcb3a
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ function editCultures() {
|
||||||
debug.select("#cultureCenter"+culture).remove();
|
debug.select("#cultureCenter"+culture).remove();
|
||||||
|
|
||||||
pack.burgs.filter(b => b.culture == culture).forEach(b => b.culture = 0);
|
pack.burgs.filter(b => b.culture == culture).forEach(b => b.culture = 0);
|
||||||
pack.states.forEach((s, i) => {if(s.culture === culture) pack.states[i].culture = 0;});
|
pack.states.forEach((s, i) => {if(s.culture === culture) s.culture = 0;});
|
||||||
pack.cells.culture.forEach((c, i) => {if(c === culture) pack.cells.culture[i] = 0;});
|
pack.cells.culture.forEach((c, i) => {if(c === culture) pack.cells.culture[i] = 0;});
|
||||||
pack.cultures[culture].removed = true;
|
pack.cultures[culture].removed = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue