From f1b9b31f07d8cfedce54b7c520acf61b72e50ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 6 Aug 2015 09:15:58 +0200 Subject: [PATCH] remove duplicated line --- OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs index 678af1bf57..be00ff9354 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs @@ -108,7 +108,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic hideMenu = true; ConfirmationDialogs.PromptConfirmAction("Surrender", "Are you sure you want to surrender?", onSurrender, showMenu); }; - surrenderButton.IsDisabled = () => world.LocalPlayer == null || world.LocalPlayer.WinState != WinState.Undefined; var saveMapButton = menu.Get("SAVE_MAP"); saveMapButton.IsVisible = () => world.Type == WorldType.Editor;