Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Naxrin authored Dec 27, 2024
1 parent ae93552 commit 64d38ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ class $modify(LevelInfoLayer) {
if (auto sp1 = sprt->getChildByType<CCSprite>(1))
sp1->setColor(black);
if (!sprt) return;
if (auto sp2 = sprt->getChildByType<CCProgressTimer>(1))
sp2->setColor(black);
if (auto children = sprt->getChildren())
static_cast<CCProgressTimer*>(children->objectAtIndex(2))->setColor(black);
if (!sprt) return;
if (auto sp3 = sprt->getChildByType<CCSprite>(2))
sp3->setColor(white);
Expand Down

0 comments on commit 64d38ab

Please sign in to comment.