From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 12 Apr 2023 07:39:43 +0000 (+1000) Subject: Fix lobby votes (#15342) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=10d82afcc995f7b39220875e78d197cd41a0e18c;p=space-station-14.git Fix lobby votes (#15342) --- diff --git a/Content.Client/Lobby/LobbyState.cs b/Content.Client/Lobby/LobbyState.cs index 8774242cc6..9be0a7618a 100644 --- a/Content.Client/Lobby/LobbyState.cs +++ b/Content.Client/Lobby/LobbyState.cs @@ -93,7 +93,7 @@ namespace Content.Client.Lobby _gameTicker.LobbyStatusUpdated -= LobbyStatusUpdated; _gameTicker.LobbyLateJoinStatusUpdated -= LobbyLateJoinStatusUpdated; - _lobby!.VoteContainer.Orphan(); + _voteManager.ClearPopupContainer(); _lobby!.CharacterPreview.CharacterSetupButton.OnPressed -= OnSetupPressed; _lobby!.ReadyButton.OnPressed -= OnReadyPressed;