Port Demolish to the new Enter activity.
This commit is contained in:
committed by
Oliver Brakmann
parent
a17608a24e
commit
167371d540
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[Desc("Demolish the target actor.")]
|
||||
public void Demolish(Actor target)
|
||||
{
|
||||
Self.QueueActivity(new Demolish(Self, target, info.EnterBehaviour, info.DetonationDelay,
|
||||
Self.QueueActivity(new Demolish(Self, Target.FromActor(target), info.EnterBehaviour, info.DetonationDelay,
|
||||
info.Flashes, info.FlashesDelay, info.FlashInterval));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user