Fix queued move orders on Chrono Tank.

This commit is contained in:
Paul Chote
2017-06-10 21:07:16 +01:00
committed by atlimit8
parent 242f33c2ba
commit 90778bc8a8

View File

@@ -143,8 +143,7 @@ namespace OpenRA.Mods.Cnc.Traits
public bool CanTarget(Actor self, Target target, List<Actor> othersAtTarget, ref TargetModifiers modifiers, ref string cursor)
{
// TODO: When target modifiers are configurable this needs to be revisited
if (modifiers.HasModifier(TargetModifiers.ForceMove) || modifiers.HasModifier(TargetModifiers.ForceQueue))
if (modifiers.HasModifier(TargetModifiers.ForceMove))
{
var xy = self.World.Map.CellContaining(target.CenterPosition);