From f6dfb9a27879ffadfab2147dc6f15febb75cf3fd Mon Sep 17 00:00:00 2001 From: samme Date: Wed, 1 Apr 2020 13:12:25 -0700 Subject: [PATCH] Reset sceneUpdate in boot Fixes #5065 --- src/scene/SceneManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scene/SceneManager.js b/src/scene/SceneManager.js index cc4fd73b6..ac4c5769a 100644 --- a/src/scene/SceneManager.js +++ b/src/scene/SceneManager.js @@ -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);