mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Merge pull request #3409 from macbury/scene_key_exist
Remove scene key in SceneManager
This commit is contained in:
commit
3537dce193
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…
Add table
Reference in a new issue