mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
fix(#845): emblem shield - remove incorrect data
This commit is contained in:
parent
e632274d5d
commit
3064961c59
4 changed files with 54 additions and 25 deletions
|
|
@ -629,4 +629,11 @@ export function resolveVersionConflicts(version) {
|
|||
delete religion.origin;
|
||||
}
|
||||
}
|
||||
|
||||
if (version < 1.88) {
|
||||
// v1.87 may have incorrect shield for some reason
|
||||
pack.states.forEach(({coa}) => {
|
||||
if (coa?.shield === "state") delete coa.shield;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue