From 17080a92ee2abbf19ef1df2b6188d3c11885fbdb Mon Sep 17 00:00:00 2001 From: Exp Date: Wed, 19 Aug 2020 20:41:03 +0200 Subject: [PATCH] Clear the ready list once the lobby is left (#1791) --- Content.Client/State/LobbyState.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Content.Client/State/LobbyState.cs b/Content.Client/State/LobbyState.cs index 20b4256393..b5fc2c35a1 100644 --- a/Content.Client/State/LobbyState.cs +++ b/Content.Client/State/LobbyState.cs @@ -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();