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

Fix visual test crash

This commit is contained in:
DrabWeb 2017-05-18 16:54:50 -03:00
parent 065f4faa70
commit c8102db780

View File

@ -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)