Fix AdminSystem not unsubscribing from PlayerTab.OnEntryPressed
This commit is contained in:
@@ -97,6 +97,8 @@ namespace Content.Client.Administration
|
|||||||
|
|
||||||
public void Close()
|
public void Close()
|
||||||
{
|
{
|
||||||
|
if (_window != null)
|
||||||
|
_window.PlayerTabControl.OnEntryPressed -= PlayerTabEntryPressed;
|
||||||
_window?.Close();
|
_window?.Close();
|
||||||
|
|
||||||
foreach (var window in _commandWindows)
|
foreach (var window in _commandWindows)
|
||||||
|
|||||||
Reference in New Issue
Block a user