mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
load fonts on .map file open
This commit is contained in:
parent
25de9edb13
commit
cfb6e1eeeb
5 changed files with 29 additions and 16 deletions
|
|
@ -846,7 +846,7 @@ function editStates() {
|
|||
if (owner) {
|
||||
const name = provinces[p].name;
|
||||
|
||||
// if province is historical part of abouther state province, unite with old province
|
||||
// if province is a historical part of another state's province, unite with old province
|
||||
const part = states[owner].provinces.find(n => name.includes(provinces[n].name));
|
||||
if (part) {
|
||||
provinces[p].removed = true;
|
||||
|
|
|
|||
|
|
@ -1233,7 +1233,7 @@ function addFonts(url) {
|
|||
document.head.removeChild(s);
|
||||
return fetched;
|
||||
})
|
||||
.catch(function () {});
|
||||
.catch(err => ERROR && console.error(err));
|
||||
}
|
||||
|
||||
// Update font list for Label and Burg Editors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue