Protection: Restore BackoffTicks if target visible
This commit is contained in:
committed by
Gustas Kažukauskas
parent
d555baa0c2
commit
e126c59e94
@@ -56,7 +56,10 @@ namespace OpenRA.Mods.Common.Traits.BotModules.Squads
|
|||||||
Backoff--;
|
Backoff--;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
owner.Bot.QueueOrder(new Order("AttackMove", null, owner.Target, false, groupedActors: owner.Units.ToArray()));
|
owner.Bot.QueueOrder(new Order("AttackMove", null, owner.Target, false, groupedActors: owner.Units.ToArray()));
|
||||||
|
Backoff = BackoffTicks;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Deactivate(Squad owner) { }
|
public void Deactivate(Squad owner) { }
|
||||||
|
|||||||
Reference in New Issue
Block a user