diff --git a/OpenRA.Mods.RA/Widgets/ProductionTabsWidget.cs b/OpenRA.Mods.RA/Widgets/ProductionTabsWidget.cs index 6fe41f14ec..1eb017e282 100644 --- a/OpenRA.Mods.RA/Widgets/ProductionTabsWidget.cs +++ b/OpenRA.Mods.RA/Widgets/ProductionTabsWidget.cs @@ -279,9 +279,15 @@ namespace OpenRA.Mods.RA.Widgets var hotkey = Hotkey.FromKeyInput(e); if (hotkey == Game.Settings.Keys.NextProductionTabKey) + { + Sound.PlayNotification(world.Map.Rules, null, "Sounds", "ClickSound", null); return SelectNextTab(false); + } else if (hotkey == Game.Settings.Keys.PreviousProductionTabKey) + { + Sound.PlayNotification(world.Map.Rules, null, "Sounds", "ClickSound", null); return SelectNextTab(true); + } return false; } diff --git a/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs b/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs index ce2a21ac7f..027b133649 100644 --- a/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs +++ b/OpenRA.Mods.RA/Widgets/WorldCommandWidget.cs @@ -227,6 +227,8 @@ namespace OpenRA.Mods.RA.Widgets world.Selection.Combine(world, new Actor[] { next }, false, true); + Sound.PlayNotification(world.Map.Rules, null, "Sounds", "ClickSound", null); + return ToSelection(); }