Skip to content

Commit

Permalink
edge case?
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Jul 10, 2024
1 parent a7fa79f commit 551b3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
float desiredSpriteScaleY = 0.f;
float desiredSpriteYPosition = 0.f;
if (auto hideButtonSprite = MyEndLevelLayer::getHideButtonSprite()) {
if (MyEndLevelLayer::getModBool("hideHideEndscreen")) {
if (MyEndLevelLayer::getModBool("hideHideEndscreen") || MyEndLevelLayer::getModBool("hideEndLevelLayer")) {
hideButtonSprite->setVisible(false); //hide sprite, not the button itself
}
auto hideButtonButton = hideLayerMenu->getChildByIDRecursive("hide-button");
Expand Down

0 comments on commit 551b3da

Please sign in to comment.