Add missing self and optional pretick parameters to Queue, QueueChild and PrintActivity methods.
This means sequenceActivities needs to accept self as well.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
// Turn to the required facing.
|
||||
if (deploy.Info.Facing != -1 && canTurn)
|
||||
QueueChild(new Turn(self, deploy.Info.Facing));
|
||||
QueueChild(self, new Turn(self, deploy.Info.Facing));
|
||||
}
|
||||
|
||||
public override Activity Tick(Actor self)
|
||||
|
||||
Reference in New Issue
Block a user