Closes UI when the panel closes (#2242)

This commit is contained in:
Exp
2020-10-13 11:42:12 +02:00
committed by GitHub
parent 7dced69fc4
commit cb29db60d1

View File

@@ -56,6 +56,9 @@ namespace Content.Server.GameObjects.Components
}
_isPanelOpen = value;
if (!_isPanelOpen)
UserInterface?.CloseAll();
UpdateAppearance();
}
}