Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Jul 28, 2024
1 parent da351f9 commit 7fbceb5
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 @@ -220,7 +220,7 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
CurrencyRewardLayer* currencyLayer = nullptr;
currencyLayer = getChildOfType<CurrencyRewardLayer>(this, 0);
if (!currencyLayer) { getChildOfType<CurrencyRewardLayer*>(getParent(), 0); }
if (currencyLayer) { currencyLayer->setVisible(false); }
if (currencyLayer) { currencyLayer->setVisible(!currencyLayer->isVisible()); }
}
void applySpaceUK() {
if (MyEndLevelLayer::getModBool("spaceUK")) {
Expand Down

0 comments on commit 7fbceb5

Please sign in to comment.