Communications Console & Medical Scanner now close when too far away (#2175)

-Wire & GasAnalyzer dispose instead of closing only
This commit is contained in:
Exp
2020-10-06 10:16:42 +02:00
committed by GitHub
parent 67ba000528
commit 920f3a999b
12 changed files with 40 additions and 16 deletions

View File

@@ -40,10 +40,10 @@ namespace Content.Client.GameObjects.Components.HUD.Inventory
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (!disposing) return;
_strippingMenu.Dispose();
if (!disposing)
return;
_strippingMenu.Close();
_strippingMenu.Dispose();
}
private void UpdateMenu()