From 9fb72c90636110141287960c651e2704417d9a99 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 17 Jul 2011 14:29:30 +1200 Subject: [PATCH] Play click sound when using `tab' to cycle queues. --- OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs b/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs index 196dde05d9..48db584622 100755 --- a/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs +++ b/OpenRA.Mods.Cnc/Widgets/ProductionTabsWidget.cs @@ -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; }