From 953312482de99e8f06360840b5d985e9677077d0 Mon Sep 17 00:00:00 2001 From: spherallic Date: Fri, 4 Mar 2022 21:13:27 +0100 Subject: [PATCH] Fix mistake in non-essential linedef check. --- Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs b/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs index 03dcbc2..0f397c7 100644 --- a/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs @@ -1208,7 +1208,7 @@ namespace CodeImp.DoomBuilder.BuilderModes ICollection selected = General.Map.Map.GetSelectedLinedefs(true); foreach (Linedef ld in selected) { - if (ld.Back != null && ld.Front.Sector == ld.Back.Sector && ld.Action != 0) + if (ld.Back != null && ld.Front.Sector == ld.Back.Sector && ld.Action == 0) counter++; else ld.Selected = false;