mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
Fix visual test crash
This commit is contained in:
parent
065f4faa70
commit
c8102db780
@ -163,7 +163,7 @@ namespace osu.Game.Overlays.Direct
|
||||
|
||||
void Bindable_ValueChanged(RulesetInfo obj)
|
||||
{
|
||||
icon.FadeTo((Ruleset.ID == obj.ID) ? 1f : 0.5f, 100);
|
||||
icon.FadeTo((Ruleset.ID == obj?.ID) ? 1f : 0.5f, 100);
|
||||
}
|
||||
|
||||
public RulesetToggleButton(Bindable<RulesetInfo> bindable, RulesetInfo ruleset)
|
||||
|
Loading…
Reference in New Issue
Block a user