mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-25 04:11:42 -04:00
my hungry ass could not work as a brain surgeon
This commit is contained in:
parent
ffc9287a61
commit
e30669d9ad
1 changed files with 2 additions and 2 deletions
|
@ -127,13 +127,13 @@ class $modify(LoadingLayer) {
|
|||
|
||||
// Default behaviour
|
||||
if (!LOADING_FINISHED_SCENE) {
|
||||
return LoadingLayer::loadingFinished();
|
||||
return LoadingLayer::loadAssets();
|
||||
}
|
||||
// Create custom layer
|
||||
auto layer = LOADING_FINISHED_SCENE();
|
||||
// If failed, default behaviour
|
||||
if (!layer) {
|
||||
return LoadingLayer::loadingFinished();
|
||||
return LoadingLayer::loadAssets();
|
||||
}
|
||||
auto scene = CCScene::create();
|
||||
scene->addChild(layer);
|
||||
|
|
Loading…
Add table
Reference in a new issue