mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Remove scene key in SceneManager
This commit is contained in:
parent
2ea8489716
commit
e981932db1
1 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ var SceneManager = new Class({
|
||||||
|
|
||||||
if (index > -1)
|
if (index > -1)
|
||||||
{
|
{
|
||||||
this.keys[sceneKey] = undefined;
|
delete this.keys[sceneKey];
|
||||||
this.scenes.splice(index, 1);
|
this.scenes.splice(index, 1);
|
||||||
|
|
||||||
if (this._start.indexOf(sceneKey) > -1)
|
if (this._start.indexOf(sceneKey) > -1)
|
||||||
|
|
Loading…
Reference in a new issue