Remove unnecessary null coalesce

This commit is contained in:
kamp 2020-11-07 01:56:41 +01:00
parent b47a2a03d5
commit 42c543472d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ protected override void LoadComplete()
public override bool HandleQuickDeletion()
{
var hoveredControlPoint = ControlPointVisualiser?.Pieces?.FirstOrDefault(p => p.IsHovered);
var hoveredControlPoint = ControlPointVisualiser?.Pieces.FirstOrDefault(p => p.IsHovered);
if (hoveredControlPoint == null)
return false;