We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea8489 commit e981932Copy full SHA for e981932
1 file changed
src/scene/SceneManager.js
@@ -161,7 +161,7 @@ var SceneManager = new Class({
161
162
// Replace key in case the scene changed it
163
key = newScene.sys.settings.key;
164
-
+
165
this.keys[key] = newScene;
166
167
this.scenes.push(newScene);
@@ -356,7 +356,7 @@ var SceneManager = new Class({
356
357
if (index > -1)
358
{
359
- this.keys[sceneKey] = undefined;
+ delete this.keys[sceneKey];
360
this.scenes.splice(index, 1);
361
362
if (this._start.indexOf(sceneKey) > -1)
0 commit comments