Add support for playing an InsufficientFunds warning

This commit is contained in:
abcdefg30
2016-02-15 13:06:41 +01:00
parent 494f71a8bb
commit be1080f7bd
5 changed files with 89 additions and 1 deletions

View File

@@ -233,7 +233,6 @@ 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;
}