We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c65c48 commit bc00f92Copy full SHA for bc00f92
1 file changed
src/core/StateManager.js
@@ -589,7 +589,7 @@ Phaser.StateManager.prototype = {
589
loadComplete: function () {
590
591
// Make sure to do load-update one last time before state is set to _created
592
- if(this.onLoadUpdateCallback)
+ if (this._created === false && this.onLoadUpdateCallback)
593
{
594
this.onLoadUpdateCallback.call(this.callbackContext, this.game);
595
}
0 commit comments