Fix SpawnActorPower not playing launch sounds

This commit is contained in:
reaperrr
2017-07-27 20:51:46 +02:00
committed by Paul Chote
parent 11d6dc2d3a
commit f744a429a4

View File

@@ -50,6 +50,7 @@ namespace OpenRA.Mods.Common.Traits
{
var location = self.World.Map.CenterOfCell(order.TargetLocation);
PlayLaunchSounds();
Game.Sound.Play(SoundType.World, info.DeploySound, location);
if (!string.IsNullOrEmpty(info.EffectSequence) && !string.IsNullOrEmpty(info.EffectPalette))