Merge pull request #5066 from samme/fix/5065-scene-update-before-create

Fix scene update before create
This commit is contained in:
Richard Davey 2020-04-27 12:15:41 +01:00 committed by GitHub
commit ab7b7b19a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);