Add missing PlayNotification calls to SelectTarget.

This commit is contained in:
abc013
2020-10-30 16:28:38 +01:00
committed by Paul Chote
parent a366e37014
commit 672172d1f1
8 changed files with 8 additions and 22 deletions

View File

@@ -50,7 +50,6 @@ namespace OpenRA.Mods.Cnc.Traits
public override void SelectTarget(Actor self, string order, SupportPowerManager manager)
{
Game.Sound.PlayToPlayer(SoundType.UI, manager.Self.Owner, Info.SelectTargetSound);
self.World.OrderGenerator = new SelectAttackPowerTarget(self, order, manager, info.Cursor, MouseButton.Left, attack);
}

View File

@@ -74,7 +74,6 @@ namespace OpenRA.Mods.Cnc.Traits
public override void SelectTarget(Actor self, string order, SupportPowerManager manager)
{
Game.Sound.PlayToPlayer(SoundType.UI, manager.Self.Owner, Info.SelectTargetSound);
self.World.OrderGenerator = new SelectChronoshiftTarget(Self.World, order, manager, this);
}