LoaderPlugin.isReady referenced a constant that no longer exists. Fix #3503

This commit is contained in:
Richard Davey 2018-04-09 13:55:41 +01:00
parent c7037628e2
commit 5f9972c791
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@ being passed to the simulation. The default value is 1 to remain consistent with
* 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)
* Tween.restart handles removed tweens properly and reads them back into the active queue for the TweenManager (thanks @wtravO)
* 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)
* LoaderPlugin.isReady referenced a constant that no longer exists. Fix #3503 (thanks @Twilrom)
### Updates

View file

@ -369,7 +369,7 @@ var LoaderPlugin = new Class({
*/
isReady: function ()
{
return (this.state === CONST.LOADER_IDLE || this.state === CONST.LOADER_COMPLETE || this.state === CONST.LOADER_FAILED);
return (this.state === CONST.LOADER_IDLE || this.state === CONST.LOADER_COMPLETE);
},
/**