mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Fix NRE on footer button mods
This commit is contained in:
parent
eddae7b143
commit
e86a35fe33
@ -76,8 +76,11 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
updateMultiplierText();
|
||||
|
||||
modSettingChangeTracker = new ModSettingChangeTracker(mods.NewValue);
|
||||
modSettingChangeTracker.SettingChanged += _ => updateMultiplierText();
|
||||
if (mods.NewValue != null)
|
||||
{
|
||||
modSettingChangeTracker = new ModSettingChangeTracker(mods.NewValue);
|
||||
modSettingChangeTracker.SettingChanged += _ => updateMultiplierText();
|
||||
}
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user