Clear the ready list once the lobby is left (#1791)

This commit is contained in:
Exp
2020-08-19 20:41:03 +02:00
committed by GitHub
parent 9306f41bed
commit 17080a92ee

View File

@@ -107,7 +107,10 @@ namespace Content.Client.State
{
_playerManager.PlayerListUpdated -= PlayerManagerOnPlayerListUpdated;
_clientGameTicker.InfoBlobUpdated -= UpdateLobbyUi;
_clientGameTicker.LobbyStatusUpdated -= UpdateLobbyUi;
_clientGameTicker.LobbyStatusUpdated -= LobbyStatusUpdated;
_clientGameTicker.LobbyReadyUpdated -= LobbyReadyUpdated;
_clientGameTicker.Ready.Clear();
_lobby.Dispose();
_characterSetup.Dispose();