Unbreak queued order
This commit is contained in:
@@ -95,8 +95,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
|
||||||
self.SetTargetLine(Target.FromOrder(self.World, order), Color.Yellow);
|
if (!order.Queued)
|
||||||
|
self.CancelActivity();
|
||||||
|
|
||||||
|
self.SetTargetLine(Target.FromOrder(self.World, order), Color.Yellow);
|
||||||
self.QueueActivity(new RepairBridge(self, order.TargetActor, info.EnterBehaviour, info.RepairNotification));
|
self.QueueActivity(new RepairBridge(self, order.TargetActor, info.EnterBehaviour, info.RepairNotification));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user