diff --git a/src/textures/TextureManager.js b/src/textures/TextureManager.js index d04649609..1fb740770 100644 --- a/src/textures/TextureManager.js +++ b/src/textures/TextureManager.js @@ -123,6 +123,8 @@ var TextureManager = new Class({ */ boot: function () { + this._pending = 3; + this.on(Events.LOAD, this.updatePending, this); this.on(Events.ERROR, this.updatePending, this); @@ -132,8 +134,6 @@ var TextureManager = new Class({ this.addBase64('__MISSING', config.missingImage); this.addBase64('__WHITE', config.whiteImage); - this._pending = 3; - this.game.events.once(GameEvents.DESTROY, this.destroy, this); },