Update with new r# inspections

This commit is contained in:
Dean Herbert
2020-10-16 12:49:39 +09:00
parent cc41845f56
commit 88f74921fb
2 changed files with 2 additions and 4 deletions

View File

@ -79,9 +79,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
private void updatePlacementNewCombo()
{
if (currentPlacement == null) return;
if (currentPlacement.HitObject is IHasComboInformation c)
if (currentPlacement?.HitObject is IHasComboInformation c)
c.NewCombo = NewCombo.Value == TernaryState.True;
}