mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 10:05:46 -04:00
Achievements: Reload settings after hardcode disabled
This commit is contained in:
@ -1413,6 +1413,10 @@ void Achievements::SetHardcoreMode(bool enabled, bool force_display_message)
|
|||||||
DisplayAchievementSummary();
|
DisplayAchievementSummary();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reload setting to permit cheating-like things if we were just disabled.
|
||||||
|
if (!enabled)
|
||||||
|
Host::RunOnCPUThread([]() { System::ApplySettings(false); });
|
||||||
|
|
||||||
// Toss away UI state, because it's invalid now
|
// Toss away UI state, because it's invalid now
|
||||||
ClearUIState();
|
ClearUIState();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user