mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.56 - fix correction for burgs without valid states
This commit is contained in:
parent
d8618948ce
commit
4c4caa6ff7
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ function regenerateEmblems() {
|
||||||
else if (burg.port) kinship -= .1;
|
else if (burg.port) kinship -= .1;
|
||||||
if (state && burg.culture !== state.culture) kinship -= .25;
|
if (state && burg.culture !== state.culture) kinship -= .25;
|
||||||
burg.coa = COA.generate(state ? state.coa : null, kinship, null, burg.type);
|
burg.coa = COA.generate(state ? state.coa : null, kinship, null, burg.type);
|
||||||
burg.coa.shield = COA.getShield(burg.culture, state ? burg.state || 0);
|
burg.coa.shield = COA.getShield(burg.culture, state ? burg.state : 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
pack.provinces.forEach(province => {
|
pack.provinces.forEach(province => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue