Skip to content

Commit

Permalink
fix dailylevelnode
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Nov 9, 2024
1 parent f226ded commit fcdc629
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DailyLevelNode.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// #include "AddIDs.hpp"
//TODO: FIX 2.207

#include <Geode/Geode.hpp>
#include <Geode/modify/DailyLevelNode.hpp>
#include <Geode/utils/NodeIDs.hpp>
Expand Down Expand Up @@ -62,7 +60,7 @@ struct DailyLevelNodeIDs : Modify<DailyLevelNodeIDs, DailyLevelNode> {
}

this->getChildByType<CCLabelBMFont>(0 + labelOffset)->setID("bonus-label");
if(m_page->m_type == GJTimedLevelType::Weekly) {
if(m_page->m_type == GJTimedLevelType::Weekly || m_page->m_type == GJTimedLevelType::Event) {
//this->getChildByType<GJChestSprite>(0)->setID("chest-sprite");
} else {
this->getChildByType<CCLabelBMFont>(1 + labelOffset)->setID("bonus-number-label");
Expand Down

0 comments on commit fcdc629

Please sign in to comment.