1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Revert back to hardcoded SessionStatics reset values

This commit is contained in:
jvyden 2021-04-16 06:34:57 -04:00
parent 9c6914d29d
commit a4e3e53a63
No known key found for this signature in database
GPG Key ID: 18BCF2BE0262B278

View File

@ -23,8 +23,11 @@ namespace osu.Game.Configuration
public void ResetValues()
{
ConfigStore.Clear();
InitialiseDefaults();
SetValue(Static.LoginOverlayDisplayed, false);
SetValue(Static.MutedAudioNotificationShownOnce, false);
SetValue(Static.LowBatteryNotificationShownOnce, false);
SetValue(Static.LastHoverSoundPlaybackTime, (double?)null);
SetValue<APISeasonalBackgrounds>(Static.SeasonalBackgrounds, null);
}
}