diff --git a/src/js/game/map_view.js b/src/js/game/map_view.js index cdb1efec..a7d14cb5 100644 --- a/src/js/game/map_view.js +++ b/src/js/game/map_view.js @@ -51,6 +51,10 @@ export class MapView extends BaseMap { * @param {Entity} entity */ onEntityChanged(entity) { + if (!this.root.gameInitialized) { + return; + } + const staticComp = entity.components.StaticMapEntity; if (staticComp) { const rect = staticComp.getTileSpaceBounds();