1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 14:50:54 +08:00

Use null propagation.

This commit is contained in:
Dean Herbert
2017-01-24 19:04:03 +09:00
Unverified
parent f07b9591cd
commit 4efedd942d
+1 -1
View File
@@ -63,7 +63,7 @@ namespace osu.Game.Modes.UI
processor.TotalScore.ValueChanged += delegate { ScoreCounter?.Set((ulong)processor.TotalScore.Value); };
processor.Accuracy.ValueChanged += delegate { AccuracyCounter?.Set((float)processor.Accuracy.Value); };
processor.Combo.ValueChanged += delegate { ComboCounter?.Set((ulong)processor.Combo.Value); };
if (HealthDisplay != null) HealthDisplay.Current.Weld(processor.Health);
HealthDisplay?.Current.Weld(processor.Health);
}
}
}