mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.5.82 - bug fixes
This commit is contained in:
parent
2f70df6c59
commit
4fdb265b56
7 changed files with 26 additions and 606 deletions
|
|
@ -488,7 +488,7 @@
|
|||
|
||||
const getShield = function(culture, state) {
|
||||
const emblemShape = document.getElementById("emblemShape");
|
||||
const shapeGroup = emblemShape.selectedOptions[0].parentNode.label;
|
||||
const shapeGroup = emblemShape.selectedOptions[0]?.parentNode.label || "Diversiform";
|
||||
if (shapeGroup !== "Diversiform") return emblemShape.value;
|
||||
|
||||
if (emblemShape.value === "state" && state && pack.states[state].coa) return pack.states[state].coa.shield;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue