forked from mirror/BlueMap
Fix webapp error when live-api is disabled
This commit is contained in:
parent
724d553a64
commit
8c5f15e64e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user