]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix lobby votes (#15342)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Wed, 12 Apr 2023 07:39:43 +0000 (17:39 +1000)
committerGitHub <noreply@github.com>
Wed, 12 Apr 2023 07:39:43 +0000 (17:39 +1000)
Content.Client/Lobby/LobbyState.cs

index 8774242cc60fddc8fc07f18ae1c5c77fa052d316..9be0a7618a3e757ed139177f34eaff123630af1e 100644 (file)
@@ -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;