Skip to content

Commit 172d65c

Browse files
committed
without updateinfolabel hook
1 parent 09e5cda commit 172d65c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/PlayLayer.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ class $modify(MyPlayLayer, PlayLayer) {
277277
if (fontID != 0 && fontID != -3 && getModBool("customFontGoldColor")) hopefullyALabel->setColor({254, 207, 6});
278278
}
279279
}
280-
void updateInfoLabel() {
281-
PlayLayer::updateInfoLabel();
282-
if (!getModBool("enabled") || !m_level || m_level->isPlatformer() || !m_player1->m_isDead || m_isPlatformer) return;
283-
MyPlayLayer::findAndModifyTheNewBestNode();
284-
}
280+
// void updateInfoLabel() {
281+
// PlayLayer::updateInfoLabel();
282+
// if (!getModBool("enabled") || !m_level || m_level->isPlatformer() || !m_player1->m_isDead || m_isPlatformer) return;
283+
// MyPlayLayer::findAndModifyTheNewBestNode();
284+
// }
285285
void showNewBest(bool newReward, int orbs, int diamonds, bool demonKey, bool noRetry, bool noTitle) {
286286
PlayLayer::showNewBest(newReward, orbs, diamonds, demonKey, noRetry, noTitle);
287287
Loader::get()->queueInMainThread([this]() {

0 commit comments

Comments
 (0)