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

@ -35,8 +35,6 @@ export class CustomizeScene extends AbstractCharacterScene {
}
preload() {
addLoader(this);
this.load.html(customizeSceneKey, 'resources/html/CustomCharacterScene.html');
this.layers = loadAllLayers(this.load);
@ -48,6 +46,9 @@ export class CustomizeScene extends AbstractCharacterScene {
this.layers[bodyResourceDescription.level].unshift(bodyResourceDescription);
});
});
//this function must stay at the end of preload function
addLoader(this);
}
create() {