mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
fix: (v1.91.00)
This commit is contained in:
parent
dafd313395
commit
1d921c18af
11 changed files with 106 additions and 46 deletions
|
|
@ -401,7 +401,7 @@ function cultureChangeEmblemsShape() {
|
|||
};
|
||||
|
||||
pack.states.forEach(state => {
|
||||
if (state.culture !== culture || !state.i || state.removed || !state.coa || state.coa === "custom") return;
|
||||
if (state.culture !== culture || !state.i || state.removed || !state.coa || state.coa.custom) return;
|
||||
if (shape === state.coa.shield) return;
|
||||
state.coa.shield = shape;
|
||||
rerenderCOA("stateCOA" + state.i, state.coa);
|
||||
|
|
@ -413,7 +413,7 @@ function cultureChangeEmblemsShape() {
|
|||
!province.i ||
|
||||
province.removed ||
|
||||
!province.coa ||
|
||||
province.coa === "custom"
|
||||
province.coa.custom
|
||||
)
|
||||
return;
|
||||
if (shape === province.coa.shield) return;
|
||||
|
|
@ -422,7 +422,7 @@ function cultureChangeEmblemsShape() {
|
|||
});
|
||||
|
||||
pack.burgs.forEach(burg => {
|
||||
if (burg.culture !== culture || !burg.i || burg.removed || !burg.coa || burg.coa === "custom") return;
|
||||
if (burg.culture !== culture || !burg.i || burg.removed || !burg.coa || burg.coa.custom) return;
|
||||
if (shape === burg.coa.shield) return;
|
||||
burg.coa.shield = shape;
|
||||
rerenderCOA("burgCOA" + burg.i, burg.coa);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue