mirror of
https://github.com/photonstorm/phaser
synced 2024-11-13 00:17:24 +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