Exit if scene was removed during create()

This commit is contained in:
samme 2019-06-14 13:00:13 -07:00
parent 89fe81a5ab
commit 9a3340ff7c

View file

@ -610,6 +610,11 @@ var SceneManager = new Class({
settings.status = CONST.CREATING;
scene.create.call(scene, settings.data);
if (settings.status === CONST.DESTROYED)
{
return;
}
}
if (settings.isTransition)