mirror of
https://github.com/photonstorm/phaser
synced 2024-11-14 00:47:29 +00:00
Merge pull request #5066 from samme/fix/5065-scene-update-before-create
Fix scene update before create
This commit is contained in:
commit
ab7b7b19a4
1 changed files with 2 additions and 0 deletions
|
@ -452,6 +452,8 @@ var SceneManager = new Class({
|
|||
var sys = scene.sys;
|
||||
var settings = sys.settings;
|
||||
|
||||
sys.sceneUpdate = NOOP;
|
||||
|
||||
if (scene.init)
|
||||
{
|
||||
scene.init.call(scene, settings.data);
|
||||
|
|
Loading…
Reference in a new issue