Extend Enter activity class for (re)usability in enter/exit/dock logic
This commit is contained in:
@@ -76,7 +76,7 @@ namespace OpenRA.Mods.RA
|
||||
self.CancelActivity();
|
||||
|
||||
self.SetTargetLine(target, Color.Red);
|
||||
self.QueueActivity(new Enter(target.Actor, new Demolish(
|
||||
self.QueueActivity(new Enter(self, target.Actor, new Demolish(
|
||||
target.Actor, info.C4Delay, info.Flashes, info.FlashesDelay, info.FlashInterval, info.FlashDuration)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user