Fix strip menu not closing properly (#1908)

This commit is contained in:
Exp
2020-08-25 12:44:06 +02:00
committed by GitHub
parent 520e523d30
commit b5a68748ea

View File

@@ -28,6 +28,8 @@ namespace Content.Client.GameObjects.Components.HUD.Inventory
base.Open(); base.Open();
_strippingMenu = new StrippingMenu($"{Owner.Owner.Name}'s inventory"); _strippingMenu = new StrippingMenu($"{Owner.Owner.Name}'s inventory");
_strippingMenu.OnClose += Close;
_strippingMenu.OpenCentered(); _strippingMenu.OpenCentered();
UpdateMenu(); UpdateMenu();
} }