typo leading to a crash when clicking a disabled tab
This commit is contained in:
Matthias Mailänder
2012-08-15 20:03:18 +02:00
committed by Chris Forbes
parent e8359b08c6
commit 70a5333b40

View File

@@ -248,7 +248,7 @@ namespace OpenRA.Mods.Cnc.Widgets
if ((leftPressed && !leftDisabled) || (rightPressed && !rightDisabled)) if ((leftPressed && !leftDisabled) || (rightPressed && !rightDisabled))
Sound.PlayNotification(null, "Sounds", "ClickSound", null); Sound.PlayNotification(null, "Sounds", "ClickSound", null);
else else
Sound.PlayNotification(null, "Sounds", "DisabledClickSound", null); Sound.PlayNotification(null, "Sounds", "ClickDisabledSound", null);
} }
// Check production tabs // Check production tabs