From 9313638997906dd0f25f5c886471b183a7c86f56 Mon Sep 17 00:00:00 2001 From: Ivaylo Draganov Date: Wed, 23 Jun 2021 18:46:02 +0300 Subject: [PATCH] Fix handicap dropdown disabled state --- OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs index 9c0925bdfc..39c7793ed3 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyUtils.cs @@ -584,7 +584,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic { var dropdown = parent.Get("HANDICAP_DROPDOWN"); dropdown.IsVisible = () => true; - dropdown.IsDisabled = () => s.LockTeam || orderManager.LocalClient.IsReady; + dropdown.IsDisabled = () => s.LockHandicap || orderManager.LocalClient.IsReady; dropdown.OnMouseDown = _ => ShowHandicapDropDown(dropdown, c, orderManager); var handicapLabel = new CachedTransform(h => $"{h}%");