little PlayerTextures class refactor

This commit is contained in:
Hanusiak Piotr
2022-03-10 16:18:47 +01:00
parent 060cdf3310
commit 9f823506b9
6 changed files with 64 additions and 41 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export class CustomizeScene extends AbstractCharacterScene {
})
.catch((e) => console.error(e));
this.layers = loadAllLayers(this.load);
this.layers = loadAllLayers(this.load, this.playerTextures);
this.lazyloadingAttempt = false;
//this function must stay at the end of preload function