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