From d9d8c23c6355851a93377e32a0b7b77867c79287 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Fri, 11 Sep 2020 17:45:34 +0200 Subject: [PATCH] Enable the restart button when we encounter a script error --- OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs index e1a76c725b..3c22f8f10b 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs @@ -323,7 +323,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic } var button = AddButton("RESTART", RestartButton); - button.IsDisabled = () => hasError || leaving; + button.IsDisabled = () => leaving; button.OnClick = () => { hideMenu = true;