Play click sound when using `tab' to cycle queues.

This commit is contained in:
Paul Chote
2011-07-17 14:29:30 +12:00
parent 7be84a5390
commit 9fb72c9063

View File

@@ -251,6 +251,7 @@ namespace OpenRA.Mods.Cnc.Widgets
if (e.Event != KeyInputEvent.Down) return false;
if (e.KeyName == "tab")
{
Sound.Play(ClickSound);
SelectNextTab(e.Modifiers.HasModifier(Modifiers.Shift));
return true;
}