Skip to content

Commit 5f9972c

Browse files
committed
LoaderPlugin.isReady referenced a constant that no longer exists. Fix phaserjs#3503
1 parent c703762 commit 5f9972c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ being passed to the simulation. The default value is 1 to remain consistent with
4949
* When starting a new Scene with an optional `data` argument it wouldn't get passed through if the Scene was not yet available (i.e. the game had not fully booted). The data is now passed to the Scene `init` and `create` methods and stored in the Scene Settings `data` property. Fix #3363 (thanks @pixelhijack)
5050
* Tween.restart handles removed tweens properly and reads them back into the active queue for the TweenManager (thanks @wtravO)
5151
* Tween.resume will now call `Tween.play` on a tween that was paused due to its config object, not as a result of having its paused method called. Fix #3452 (thanks @jazen)
52+
* LoaderPlugin.isReady referenced a constant that no longer exists. Fix #3503 (thanks @Twilrom)
5253

5354
### Updates
5455

src/loader/LoaderPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ var LoaderPlugin = new Class({
369369
*/
370370
isReady: function ()
371371
{
372-
return (this.state === CONST.LOADER_IDLE || this.state === CONST.LOADER_COMPLETE || this.state === CONST.LOADER_FAILED);
372+
return (this.state === CONST.LOADER_IDLE || this.state === CONST.LOADER_COMPLETE);
373373
},
374374

375375
/**

0 commit comments

Comments
 (0)