Skip to content

Commit

Permalink
2nd fixed _spr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Jun 14, 2024
1 parent 3a2ad2c commit b896e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MoreLeaderboards/MoreLeaderboards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ bool MoreLeaderboards::init(std::string type) {
// Change region
auto menu_region = CCMenu::create();

auto regionSpr = CCSprite::create(Mod::get()->expandSpriteName("earth_btn.png"));
auto regionSpr = CCSprite::create(Mod::get()->expandSpriteName("earth_btn.png"_spr));
regionSpr->setScale(.8f);
auto regionBtn = CCMenuItemSpriteExtra::create(
regionSpr,
Expand Down

0 comments on commit b896e21

Please sign in to comment.