mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41:23 +01:00
#257 Update culture namesbase on change
This commit is contained in:
parent
9252838e93
commit
fb1cc4c919
1 changed files with 1 additions and 5 deletions
|
|
@ -197,11 +197,7 @@ function editCultures() {
|
|||
function cultureUpdateBase() {
|
||||
const culture = +this.parentNode.dataset.id;
|
||||
const v = +this.value;
|
||||
pack.cultures.forEach(el => {
|
||||
if (el.i === culture) {
|
||||
el.base = v;
|
||||
}
|
||||
});
|
||||
pack.cultures.find(el => el.i === culture).base = v;
|
||||
}
|
||||
|
||||
function cultureRegenerateBurgs() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue