mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fixed #619
This commit is contained in:
parent
f8f2f52be9
commit
38c8a20c45
6 changed files with 37 additions and 38 deletions
|
|
@ -216,6 +216,7 @@ function editCultures() {
|
|||
const culture = +this.parentNode.dataset.id;
|
||||
this.parentNode.dataset.name = this.value;
|
||||
pack.cultures[culture].name = this.value;
|
||||
pack.cultures[culture].code = abbreviate(this.value, pack.cultures.map(c => c.code));
|
||||
}
|
||||
|
||||
function cultureChangeExpansionism() {
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ function editReligions() {
|
|||
const religion = +this.parentNode.dataset.id;
|
||||
this.parentNode.dataset.name = this.value;
|
||||
pack.religions[religion].name = this.value;
|
||||
pack.religions[religion].code = abbreviate(this.value, pack.religions.map(c => c.code));
|
||||
}
|
||||
|
||||
function religionChangeType() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue