From 9201b205343a108a7d6bc5c85cc8be3305686af5 Mon Sep 17 00:00:00 2001 From: Erymanthus | RayDeeUx <51521765+RayDeeUx@users.noreply.github.com> Date: Thu, 14 Mar 2024 07:20:29 -0400 Subject: [PATCH] coins --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 1017529..cfad5ac 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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