Revert logo loading and fix it

This commit is contained in:
Gregoire Parant 2021-05-04 15:47:45 +02:00
parent c8692a08ce
commit 83159a121f
5 changed files with 9 additions and 8 deletions

View file

@ -31,14 +31,13 @@ export class SelectCompanionScene extends ResizableScene {
}
preload() {
addLoader(this);
this.load.html(selectCompanionSceneKey, 'resources/html/SelectCompanionScene.html');
getAllCompanionResources(this.load).forEach(model => {
this.companionModels.push(model);
});
//this function must stay at the end of preload function
addLoader(this);
}