Clear active challenges when game closes
Failing to do this was causing challenge icons to carry over into the next game if a game was closed while the icons were active, even if the next game to run was a completely different game entirely with completely different badges.
This commit is contained in:
parent
5090a028e6
commit
56b82e764c
|
@ -908,6 +908,7 @@ void AchievementManager::CloseGame()
|
|||
if (m_is_game_loaded)
|
||||
{
|
||||
m_is_game_loaded = false;
|
||||
m_active_challenges.clear();
|
||||
ActivateDeactivateAchievements();
|
||||
ActivateDeactivateLeaderboards();
|
||||
ActivateDeactivateRichPresence();
|
||||
|
|
Loading…
Reference in New Issue