mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.49 - select emblem shape on culture level
This commit is contained in:
parent
7b1e463c92
commit
bfc881bda9
6 changed files with 84 additions and 40 deletions
|
|
@ -299,7 +299,8 @@ function changeEmblemShape(emblemShape) {
|
|||
|
||||
const rerenderCOA = (id, coa) => {
|
||||
const coaEl = document.getElementById(id);
|
||||
if (coaEl) coaEl.remove();
|
||||
if (!coaEl) return; // not rendered
|
||||
coaEl.remove();
|
||||
COArenderer.trigger(id, coa);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue