mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix scene unloading with Cocos2d-JS
This commit is contained in:
@@ -51,7 +51,7 @@ gdjs.CocosDirectorManager.prototype.onSceneUnloaded = function(cocosScene)
|
||||
// the next scene that will be launched.
|
||||
this._replaceByNextScene = true;
|
||||
} else {
|
||||
this._cocosDirector.popScene(cocosScene);
|
||||
this._cocosDirector.popScene();
|
||||
this._scenes.pop();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user