Merge pull request #12595 from LillyJadeKatrin/retroachievements-bugfix-2

Clear active challenges when game closes
This commit is contained in:
Mai 2024-02-27 02:30:34 -05:00 committed by GitHub
commit aae61894f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -908,6 +908,7 @@ void AchievementManager::CloseGame()
if (m_is_game_loaded)
{
m_is_game_loaded = false;
m_active_challenges.clear();
ActivateDeactivateAchievements();
ActivateDeactivateLeaderboards();
ActivateDeactivateRichPresence();