Merge pull request #12361 from LillyJadeKatrin/retroachievements-bugfix

Bugfix - small square in bottom right corner
This commit is contained in:
Admiral H. Curtiss 2023-12-08 07:00:21 +01:00 committed by GitHub
commit 7eb02ecfa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,8 @@ void OnScreenUI::DrawChallenges()
std::lock_guard lg{*AchievementManager::GetInstance()->GetLock()};
const AchievementManager::NamedIconMap& challenge_icons =
AchievementManager::GetInstance()->GetChallengeIcons();
if (challenge_icons.size() == 0)
return;
const std::string window_name = "Challenges";