From 51971d0994d2b1689ec37709138a1bb9b4106961 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 8 Feb 2025 17:38:40 +1100 Subject: [PATCH] Revert basewindow change (#5664) --- Robust.Client/UserInterface/CustomControls/BaseWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust.Client/UserInterface/CustomControls/BaseWindow.cs b/Robust.Client/UserInterface/CustomControls/BaseWindow.cs index deb3d338e..42184c87d 100644 --- a/Robust.Client/UserInterface/CustomControls/BaseWindow.cs +++ b/Robust.Client/UserInterface/CustomControls/BaseWindow.cs @@ -37,8 +37,8 @@ namespace Robust.Client.UserInterface.CustomControls return; } - OnClose?.Invoke(); Parent.RemoveChild(this); + OnClose?.Invoke(); } protected internal override void KeyBindDown(GUIBoundKeyEventArgs args)