mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix(#932): expand cultures to get scoped cells data
This commit is contained in:
parent
1ce379dfb0
commit
fb4d3a4019
2 changed files with 64 additions and 63 deletions
|
|
@ -670,13 +670,13 @@ async function showHierarchy() {
|
|||
});
|
||||
}
|
||||
|
||||
function recalculateCultures(must) {
|
||||
if (!must && !culturesAutoChange.checked) return;
|
||||
|
||||
Cultures.expand();
|
||||
drawCultures();
|
||||
pack.burgs.forEach(b => (b.culture = pack.cells.culture[b.cell]));
|
||||
refreshCulturesEditor();
|
||||
function recalculateCultures(force) {
|
||||
if (force || culturesAutoChange.checked) {
|
||||
Cultures.expand();
|
||||
drawCultures();
|
||||
pack.burgs.forEach(b => (b.culture = pack.cells.culture[b.cell]));
|
||||
refreshCulturesEditor();
|
||||
}
|
||||
}
|
||||
|
||||
function enterCultureManualAssignent() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue