Add setting to allow automatically downloading during a spectating session

This commit is contained in:
Dean Herbert
2020-10-28 19:03:01 +09:00
parent 9807089834
commit 93fd913876
3 changed files with 46 additions and 2 deletions

View File

@ -42,6 +42,8 @@ namespace osu.Game.Configuration
Set(OsuSetting.Username, string.Empty);
Set(OsuSetting.Token, string.Empty);
Set(OsuSetting.AutomaticallyDownloadWhenSpectating, false);
Set(OsuSetting.SavePassword, false).ValueChanged += enabled =>
{
if (enabled.NewValue) Set(OsuSetting.SaveUsername, true);
@ -239,5 +241,6 @@ namespace osu.Game.Configuration
HitLighting,
MenuBackgroundSource,
GameplayDisableWinKey,
AutomaticallyDownloadWhenSpectating,
}
}