diff --git a/src/MoreLeaderboards/MoreLeaderboards.cpp b/src/MoreLeaderboards/MoreLeaderboards.cpp index 0af97b4..d7942b6 100644 --- a/src/MoreLeaderboards/MoreLeaderboards.cpp +++ b/src/MoreLeaderboards/MoreLeaderboards.cpp @@ -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,