adminmenu fixes (#5305)

This commit is contained in:
Paul Ritter
2021-11-12 19:46:05 +01:00
committed by GitHub
parent e8232af00e
commit 7b48fdd7f5
3 changed files with 40 additions and 1 deletions

View File

@@ -40,6 +40,12 @@ namespace Content.Client.Administration
SubscribeNetworkEvent<PlayerInfoRemovalMessage>(OnPlayerInfoRemoval);
}
public override void Shutdown()
{
base.Shutdown();
ShutdownOverlay();
}
private void OnPlayerInfoRemoval(PlayerInfoRemovalMessage ev)
{
if (_playerList == null) _playerList = new();