mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Use null propagation.
This commit is contained in:
parent
f07b9591cd
commit
4efedd942d
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user