Supersede INotifyNuke
This commit is contained in:
committed by
atlimit8
parent
b3b0aa75ae
commit
52d0490f95
@@ -148,9 +148,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public void Activate(Actor self, WPos targetPosition)
|
||||
{
|
||||
foreach (var launchpad in self.TraitsImplementing<INotifyNuke>())
|
||||
launchpad.Launching(self);
|
||||
|
||||
var palette = info.IsPlayerPalette ? info.MissilePalette + self.Owner.InternalName : info.MissilePalette;
|
||||
var skipAscent = info.SkipAscent || body == null;
|
||||
var launchPos = skipAscent ? WPos.Zero : self.CenterPosition + body.LocalToWorld(info.SpawnOffset);
|
||||
|
||||
Reference in New Issue
Block a user