diff --git a/Source/Plugins/BuilderModes/ClassicModes/DragGeometryMode.cs b/Source/Plugins/BuilderModes/ClassicModes/DragGeometryMode.cs index bbf7111b..6fe5507e 100644 --- a/Source/Plugins/BuilderModes/ClassicModes/DragGeometryMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/DragGeometryMode.cs @@ -455,9 +455,6 @@ namespace CodeImp.DoomBuilder.BuilderModes if (ld.Args[0] == 0) // First argument of the action is the sector tag. 0 is not a valid value continue; - if (ld.Front.Sector == null) // In case we somehow end up with a stray FOF line - continue; - if (ld.Front == null) // Must have a front side continue; diff --git a/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs b/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs index 29ef22f0..7e6a3e34 100755 --- a/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs @@ -1654,6 +1654,9 @@ namespace CodeImp.DoomBuilder.BuilderModes if (ld.Args[0] == 0) // First argument of the action is the sector tag. 0 is not a valid value continue; + if (ld.Front == null) // Must have a front side + continue; + Sector cs = ld.Front.Sector; // Skip sectors that don't have a slope