Remove scene key in SceneManager

This commit is contained in:
Arkadiusz Buras 2018-03-17 13:42:42 +01:00
parent 2ea8489716
commit e981932db1
No known key found for this signature in database
GPG key ID: 5FDE49DE9276B73E

View file

@ -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)