diff --git a/index.html b/index.html index 5698004..8267af3 100644 --- a/index.html +++ b/index.html @@ -386,5 +386,15 @@
+ + diff --git a/src/index.d.ts b/src/index.d.ts index 7d2a6dc..07eddc5 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -47,6 +47,7 @@ declare global { // noinspection JSUnusedGlobalSymbols interface Window { liveAtlasConfig: LiveAtlasGlobalConfig, + liveAtlasLoaded: ?boolean, } declare const process : { diff --git a/src/main.ts b/src/main.ts index c7eaa37..4e743cd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,6 +59,7 @@ registerMapProvider('squaremap', Pl3xmapMapProvider); registerMapProvider('overviewer', OverviewerMapProvider); const config = window.liveAtlasConfig; +window.liveAtlasLoaded = true; try { config.servers = loadConfig(config);