Add self argument to Move constructors.
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenRA.Mods.RA.Activities
|
||||
return this;
|
||||
|
||||
return Util.SequenceActivities(
|
||||
new AttackMove.AttackMoveActivity(self, new Move.Move(target.Location, WRange.FromCells(2))),
|
||||
new AttackMove.AttackMoveActivity(self, new Move.Move(self, target.Location, WRange.FromCells(2))),
|
||||
new Wait(25),
|
||||
this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user