diff --git a/Source/Plugins/BuilderModes/VisualModes/VisualVertexSlope.cs b/Source/Plugins/BuilderModes/VisualModes/VisualVertexSlope.cs index ae20f593..358eece0 100644 --- a/Source/Plugins/BuilderModes/VisualModes/VisualVertexSlope.cs +++ b/Source/Plugins/BuilderModes/VisualModes/VisualVertexSlope.cs @@ -37,7 +37,7 @@ namespace CodeImp.DoomBuilder.VisualModes angle = line.GetAngle(); - if (ld.Front.Sector != s) + if (ld.Front?.Sector != s) clockwise = !clockwise; } }