1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 03:13:21 +08:00

Force the new default on update

This commit is contained in:
Dean Herbert 2021-04-13 16:50:03 +09:00
parent 5a06db8a11
commit 0932daeaa8

View File

@ -169,14 +169,9 @@ namespace osu.Game.Configuration
int combined = (year * 10000) + monthDay; int combined = (year * 10000) + monthDay;
if (combined < 20200305) if (combined < 20210413)
{ {
// the maximum value of this setting was changed. SetValue(OsuSetting.EditorWaveformOpacity, 0.25f);
// if we don't manually increase this, it causes song select to filter out beatmaps the user expects to see.
var maxStars = (BindableDouble)GetOriginalBindable<double>(OsuSetting.DisplayStarsMaximum);
if (maxStars.Value == 10)
maxStars.Value = maxStars.MaxValue;
} }
} }