From 551b3da91a5f005e860107511de0697f3421c6c0 Mon Sep 17 00:00:00 2001 From: "Erymanthus[#5074] | (u/)RayDeeUx" <51521765+RayDeeUx@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:59:36 -0400 Subject: [PATCH] edge case? --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index dee998d..2953ae4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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");