From 27fbd3ddebe699d64d1b0da142309963be3f3009 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 27 Dec 2025 19:18:51 +0000 Subject: [PATCH] Restore lobby UI when a force-start is rejected by the server. --- OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs index f92bf79f0f..8ec0dd39fc 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs @@ -105,6 +105,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic MapPreview map; Session.MapStatus mapStatus; MapGenerationArgs lastGeneratedMap; + bool gameStarting; bool chatEnabled; bool disableTeamChat; @@ -232,7 +233,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic foreach (var f in modRules.Actors[SystemActors.World].TraitInfos()) factions.Add(f.InternalName, new LobbyFaction { Selectable = f.Selectable, Name = f.Name, Side = f.Side, Description = f.Description }); - var gameStarting = false; Func configurationDisabled = () => !Game.IsHost || gameStarting || panel == PanelType.Kick || panel == PanelType.ForceStart || !MapIsPlayable || orderManager.LocalClient == null || orderManager.LocalClient.IsReady; @@ -966,6 +966,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic void UpdateOptions() { + gameStarting = false; if (map == null || map.WorldActorInfo == null) return;