diff --git a/src/main.cpp b/src/main.cpp index 920d8c3..391495f 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 && theLevel->m_coins == 0) { + if (m_fields->isGDMO && theLevel->m_coins == 0 && Loader::get()->getLoadedMod("maxnu.gd_mega_overlay")->getSavedValue("level/endlevellayerinfo/enabled")) { 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