Add PlayLaunchSounds() to SupportPowers which are missing it.
This commit is contained in:
committed by
reaperrr
parent
85a5b6cc17
commit
6ab0ace9e1
@@ -68,6 +68,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
||||
{
|
||||
base.Activate(self, order, manager);
|
||||
PlayLaunchSounds();
|
||||
|
||||
var wsb = self.TraitOrDefault<WithSpriteBody>();
|
||||
if (wsb != null && wsb.DefaultAnimation.HasSequence(info.Sequence))
|
||||
|
||||
@@ -58,6 +58,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
||||
{
|
||||
base.Activate(self, order, manager);
|
||||
PlayLaunchSounds();
|
||||
|
||||
var info = Info as ProduceActorPowerInfo;
|
||||
var producers = self.World.ActorsWithTrait<Production>()
|
||||
|
||||
Reference in New Issue
Block a user