From 989f9a4787fd3ff020bf1d727783a3a3c6e96f42 Mon Sep 17 00:00:00 2001 From: Arnah Date: Wed, 22 Nov 2023 21:04:59 -0700 Subject: [PATCH] Properly remove rope from boarditems --- HaCreator/MapEditor/Instance/Shapes/Rope.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/HaCreator/MapEditor/Instance/Shapes/Rope.cs b/HaCreator/MapEditor/Instance/Shapes/Rope.cs index 2d304c1d..d8087135 100644 --- a/HaCreator/MapEditor/Instance/Shapes/Rope.cs +++ b/HaCreator/MapEditor/Instance/Shapes/Rope.cs @@ -48,6 +48,7 @@ public void Remove(List undoPipe) board.BoardItems.RopeAnchors.Remove(firstAnchor); board.BoardItems.RopeAnchors.Remove(secondAnchor); board.BoardItems.RopeLines.Remove(line); + board.BoardItems.Ropes.Remove(this); if (undoPipe != null) { undoPipe.Add(UndoRedoManager.RopeRemoved(this));