fix BUI close (#5523)

This commit is contained in:
Leon Friedrich
2021-11-26 16:37:18 +13:00
committed by GitHub
parent 86b94afb04
commit 317cc2f8e9
4 changed files with 28 additions and 2 deletions

View File

@@ -1,9 +1,7 @@
using Content.Shared.Chemistry;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FixedPoint;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
namespace Content.Client.Chemistry.UI
{
@@ -32,5 +30,12 @@ namespace Content.Client.Chemistry.UI
public TransferAmountBoundUserInterface(ClientUserInterfaceComponent owner, object uiKey) : base(owner, uiKey)
{
}
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (!disposing) return;
_window?.Dispose();
}
}
}