From b5a68748eab7c481de9b2e795cdb5709608b6d9d Mon Sep 17 00:00:00 2001 From: Exp Date: Tue, 25 Aug 2020 12:44:06 +0200 Subject: [PATCH] Fix strip menu not closing properly (#1908) --- .../Components/HUD/Inventory/StrippableBoundUserInterface.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs b/Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs index afd87e0e06..2b4f518501 100644 --- a/Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs +++ b/Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs @@ -28,6 +28,8 @@ namespace Content.Client.GameObjects.Components.HUD.Inventory base.Open(); _strippingMenu = new StrippingMenu($"{Owner.Owner.Name}'s inventory"); + + _strippingMenu.OnClose += Close; _strippingMenu.OpenCentered(); UpdateMenu(); }