mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
Revert loading layer
This commit is contained in:
parent
41ae88ae5b
commit
fed73fefd6
1 changed files with 19 additions and 24 deletions
|
@ -108,7 +108,7 @@ struct CustomLoadingLayer : Modify<CustomLoadingLayer, LoadingLayer> {
|
|||
}
|
||||
|
||||
int getTotalStep() {
|
||||
return 17;
|
||||
return 18;
|
||||
}
|
||||
|
||||
void updateLoadingBar() {
|
||||
|
@ -138,7 +138,6 @@ struct CustomLoadingLayer : Modify<CustomLoadingLayer, LoadingLayer> {
|
|||
|
||||
// hook
|
||||
void loadAssets() {
|
||||
if (m_loadStep == 14) {
|
||||
switch (m_fields->m_geodeLoadStep) {
|
||||
case 0:
|
||||
if (this->skipOnRefresh()) this->setupLoadingMods();
|
||||
|
@ -151,14 +150,10 @@ struct CustomLoadingLayer : Modify<CustomLoadingLayer, LoadingLayer> {
|
|||
break;
|
||||
case 3:
|
||||
default:
|
||||
LoadingLayer::loadAssets();
|
||||
this->updateLoadingBar();
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
this->setSmallText("Loading game resources");
|
||||
LoadingLayer::loadAssets();
|
||||
break;
|
||||
}
|
||||
this->updateLoadingBar();
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue