Fix in-game voting (#12932)

* Fix in-game voting

* Add comment

* Re-enable vote.restart_enabled by default
This commit is contained in:
Kevin Zheng
2022-12-18 17:13:37 -08:00
committed by GitHub
parent 0147003036
commit 72e1a5e109
3 changed files with 5 additions and 3 deletions

View File

@@ -71,7 +71,6 @@ namespace Content.Client.Lobby
};
LayoutContainer.SetAnchorPreset(_lobby, LayoutContainer.LayoutPreset.Wide);
_voteManager.SetPopupContainer(_lobby.VoteContainer);
_lobby.ServerName.Text = _baseClient.GameInfo?.ServerName; //The eye of refactor gazes upon you...
UpdateLobbyUi();