Skip to content

Commit

Permalink
i did a silly
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Jul 29, 2024
1 parent b9cde0c commit 645aefc
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 @@ -183,7 +183,7 @@ class $modify(PlayLayer) {
class $modify(MyCurrencyRewardLayer, CurrencyRewardLayer) {
bool init(int orbs, int stars, int moons, int diamonds, CurrencySpriteType demonKey, int keyCount, CurrencySpriteType shardType, int shardsCount, cocos2d::CCPoint position, CurrencyRewardType p9, float p10, float time) {
bool result = CurrencyRewardLayer::init(orbs, stars, moons, diamonds, demonkey, keyCount, shardType, shardsCount, position, p9, p10, time);
if (this->getParent()->getID() == "EndLevelLayer" && MyEndLevelLayer::getModBool("hideEndLevelLayer")) {
if (this->getParent()->getID() == "EndLevelLayer" && Mod::get()->getSettingValue<bool>("hideEndLevelLayer")) {
this->setVisible(false);
}
return result;
Expand Down

0 comments on commit 645aefc

Please sign in to comment.