1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Fix regressed logic for applying classic defaults

This commit is contained in:
Dean Herbert 2022-04-26 15:33:39 +09:00
parent b41e273086
commit 71aa7c813e

View File

@ -141,7 +141,10 @@ namespace osu.Game.Overlays.Settings
public void ApplyClassicDefault(bool useClassicDefault)
{
if (hasClassicDefault && useClassicDefault)
if (!hasClassicDefault)
return;
if (useClassicDefault)
Current.Value = classicDefault;
else
Current.SetDefault();