Revert logo loading and fix it
This commit is contained in:
parent
c8692a08ce
commit
83159a121f
5 changed files with 9 additions and 8 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue