mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +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)
|
||||
{
|
||||
this.keys[sceneKey] = undefined;
|
||||
delete this.keys[sceneKey];
|
||||
this.scenes.splice(index, 1);
|
||||
|
||||
if (this._start.indexOf(sceneKey) > -1)
|
||||
|
|
Loading…
Reference in a new issue