Merge pull request #12361 from LillyJadeKatrin/retroachievements-bugfix
Bugfix - small square in bottom right corner
This commit is contained in:
commit
7eb02ecfa4
|
@ -333,6 +333,8 @@ void OnScreenUI::DrawChallenges()
|
||||||
std::lock_guard lg{*AchievementManager::GetInstance()->GetLock()};
|
std::lock_guard lg{*AchievementManager::GetInstance()->GetLock()};
|
||||||
const AchievementManager::NamedIconMap& challenge_icons =
|
const AchievementManager::NamedIconMap& challenge_icons =
|
||||||
AchievementManager::GetInstance()->GetChallengeIcons();
|
AchievementManager::GetInstance()->GetChallengeIcons();
|
||||||
|
if (challenge_icons.size() == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
const std::string window_name = "Challenges";
|
const std::string window_name = "Challenges";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue