Simplify FlashTarget.
Now defined in terms of a flash count, interval, and delay. Broken FlashDuration parameter removed from Demolition.
This commit is contained in:
@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
public void Demolish(Actor target)
|
||||
{
|
||||
Self.QueueActivity(new Demolish(Self, target, info.EnterBehaviour, info.DetonationDelay,
|
||||
info.Flashes, info.FlashesDelay, info.FlashInterval, info.FlashDuration));
|
||||
info.Flashes, info.FlashesDelay, info.FlashInterval));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user