From 70a5333b4092c280f237a82f9dfc16d4ce9df1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 15 Aug 2012 20:03:18 +0200 Subject: [PATCH] fixes #2363 typo leading to a crash when clicking a disabled tab --- OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs b/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs index a25fa0af3d..3e585f4fe5 100755 --- a/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs +++ b/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs @@ -248,7 +248,7 @@ namespace OpenRA.Mods.Cnc.Widgets if ((leftPressed && !leftDisabled) || (rightPressed && !rightDisabled)) Sound.PlayNotification(null, "Sounds", "ClickSound", null); else - Sound.PlayNotification(null, "Sounds", "DisabledClickSound", null); + Sound.PlayNotification(null, "Sounds", "ClickDisabledSound", null); } // Check production tabs