mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 01:59:54 +08:00
Fix visual test crash
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user