Merge pull request #11076 from obrakmann/low-funds-warning-2

Fix issues with the insufficient funds warning
This commit is contained in:
Paul Chote
2016-04-16 18:00:40 +01:00
12 changed files with 42 additions and 98 deletions

View File

@@ -233,6 +233,7 @@ namespace OpenRA.Mods.Common.Widgets
{
// Queue a new item
Game.Sound.Play(TabClick);
Game.Sound.PlayNotification(World.Map.Rules, World.LocalPlayer, "Speech", CurrentQueue.Info.QueuedAudio, World.LocalPlayer.Faction.InternalName);
World.IssueOrder(Order.StartProduction(CurrentQueue.Actor, icon.Name, handleCount));
return true;
}