Fix d2k NukePower sequence requirement
This commit is contained in:
@@ -75,8 +75,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
else
|
||||
Sound.Play(Info.IncomingSound);
|
||||
|
||||
var wsb = self.Trait<WithSpriteBody>();
|
||||
wsb.PlayCustomAnimation(self, info.ActivationSequence);
|
||||
if (!string.IsNullOrEmpty(info.ActivationSequence))
|
||||
{
|
||||
var wsb = self.Trait<WithSpriteBody>();
|
||||
wsb.PlayCustomAnimation(self, info.ActivationSequence);
|
||||
}
|
||||
|
||||
var targetPosition = self.World.Map.CenterOfCell(order.TargetLocation);
|
||||
var missile = new NukeLaunch(self.Owner, info.MissileWeapon,
|
||||
|
||||
@@ -808,6 +808,7 @@ palace:
|
||||
DisplayBeacon: True
|
||||
DisplayRadarPing: True
|
||||
CameraActor: camera
|
||||
ActivationSequence:
|
||||
CanPowerDown:
|
||||
DisabledOverlay:
|
||||
RequiresPower:
|
||||
|
||||
@@ -1163,7 +1163,7 @@ namisl:
|
||||
make: ntmislmk
|
||||
Length: 18
|
||||
ShadowStart: 18
|
||||
active: ntmisl_a
|
||||
active: ntmisl_a # TODO: This is an overlay
|
||||
Length: 10
|
||||
Tick: 80
|
||||
damaged-active: ntmisl_a
|
||||
|
||||
Reference in New Issue
Block a user