Extend Enter activity class for (re)usability in enter/exit/dock logic

This commit is contained in:
atlimit8
2014-09-25 11:55:47 -05:00
parent 83acbe0266
commit af5b18a080
7 changed files with 250 additions and 24 deletions

View File

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.RA
self.SetTargetLine(Target.FromOrder(self.World, order), Color.Yellow);
self.CancelActivity();
self.QueueActivity(new Enter(order.TargetActor, new RepairBridge(order.TargetActor)));
self.QueueActivity(new Enter(self, order.TargetActor, new RepairBridge(order.TargetActor)));
}
}