Add click sounds to ingame buttons
This commit is contained in:
@@ -271,7 +271,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||
|
||||
chatPanel.AddChild(template);
|
||||
chatPanel.ScrollToBottom();
|
||||
Sound.Play("scold2.aud");
|
||||
Sound.Play("scold1.aud");
|
||||
}
|
||||
|
||||
void UpdateCurrentMap()
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.Cnc.Widgets
|
||||
public class ProductionPaletteWidget : Widget
|
||||
{
|
||||
public readonly int Columns = 3;
|
||||
public readonly string TabClick = "button.aud";
|
||||
public readonly string TabClick = null;
|
||||
public readonly string TooltipContainer;
|
||||
public readonly string TooltipTemplate = "PRODUCTION_TOOLTIP";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user