Skip to content

Commit

Permalink
add moon symbol to extended level info
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jan 16, 2024
1 parent 7ee46aa commit 181a56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/ExtendedLevelInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ bool ExtendedLevelInfo::init(GJGameLevel* level){
starsLabel->setAnchorPoint({1,0.5});
starsLabel->setID("stars-label"_spr);

auto diffSprite = CCSprite::createWithSpriteFrameName("star_small01_001.png");
auto diffSprite = CCSprite::createWithSpriteFrameName(m_level->isPlatformer() ? "moon_small01_001.png" : "star_small01_001.png");
diffSprite->setPosition({95,-87});
diffSprite->setID("stars-sprite"_spr);
m_buttonMenu->addChild(diffSprite);
Expand Down

0 comments on commit 181a56f

Please sign in to comment.