Skip to content

Commit

Permalink
Merge pull request #222 from Arnuh/fix-rope-deleting
Browse files Browse the repository at this point in the history
Properly remove rope from boarditems
  • Loading branch information
lastbattle authored Nov 26, 2023
2 parents 05d3e32 + 989f9a4 commit 67bb38c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HaCreator/MapEditor/Instance/Shapes/Rope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void Remove(List<UndoRedoAction> 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));
Expand Down

0 comments on commit 67bb38c

Please sign in to comment.