Fix AdminSystem not unsubscribing from PlayerTab.OnEntryPressed

This commit is contained in:
ShadowCommander
2021-12-27 19:35:13 -08:00
parent fe26abbfb0
commit f83b64bdec

View File

@@ -97,6 +97,8 @@ namespace Content.Client.Administration
public void Close()
{
if (_window != null)
_window.PlayerTabControl.OnEntryPressed -= PlayerTabEntryPressed;
_window?.Close();
foreach (var window in _commandWindows)