bugfix, scenario loading in game studio mode
This commit is contained in:
@@ -26,7 +26,9 @@ export default {
|
|||||||
this.resize();
|
this.resize();
|
||||||
//gameEngine.setCamera(gameEngine.orthographicCamera)
|
//gameEngine.setCamera(gameEngine.orthographicCamera)
|
||||||
//gameEngine.setCameraOrthographic();
|
//gameEngine.setCameraOrthographic();
|
||||||
//await this.loadScenario();
|
if (!this.scenario) {
|
||||||
|
await this.loadScenario();
|
||||||
|
}
|
||||||
window.addEventListener('resize', this.resize);
|
window.addEventListener('resize', this.resize);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user