Bugfix - small square in bottom right corner

Fixed a bug in OSUI created by the challenge icons that caused a small rectangle to appear in the bottom right corner of the screen.
This commit is contained in:
LillyJadeKatrin 2023-12-08 00:33:29 -05:00
parent e0f4111561
commit e992225b88
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";