Fix webapp error when live-api is disabled

This commit is contained in:
Blue (Lukas Rieger) 2020-08-16 17:35:31 +02:00
parent 724d553a64
commit 8c5f15e64e
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ export default class MarkerManager {
}),
this.checkLiveAPI()
.then(this.initializePlayerMarkers)
.catch(ignore => {
if (this.blueMap.debugInfo) console.debug("Failed load live-players:", ignore);
})
])
.then(this.loadMarkers)
.then(this.updatePlayerMarkerLoop);