Skip to content

Commit

Permalink
coins
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Mar 14, 2024
1 parent ad6ad71 commit 9201b20
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 @@ -146,7 +146,7 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
mainLayer->addChild(jumpsLabel);
mainLayer->updateLayout();
}
if (m_fields->isGDMO) {
if (m_fields->isGDMO && theLevel->m_coins != 0) {
auto mainLayer = getChildByID("main-layer");
if (mainLayer == nullptr) return;
// gdmo does this silly thing where they add children without giving them node IDs and i need to release this mod ASAP so please forgive me for using getobjectatindex but getchildoftype doesnt work for this use case because everything in endscreen layer is a child of some other cclayer smh
Expand Down

0 comments on commit 9201b20

Please sign in to comment.