Remove WaitForTransport activity.
This commit is contained in:
@@ -113,15 +113,9 @@ namespace OpenRA.Mods.Common.Activities
|
||||
var delta = (self.CenterPosition - host.CenterPosition).LengthSquared;
|
||||
var transport = transportCallers.FirstOrDefault(t => t.MinimumDistance.LengthSquared < delta);
|
||||
if (transport != null)
|
||||
{
|
||||
QueueChild(new WaitForTransport(self, moveActivities));
|
||||
|
||||
// TODO: Make this compatible with RepairableNear
|
||||
transport.RequestTransport(self, targetCell);
|
||||
}
|
||||
else
|
||||
QueueChild(moveActivities);
|
||||
|
||||
QueueChild(moveActivities);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user