make attackmove on spawn work properly for things that cant attackmove
This commit is contained in:
@@ -87,7 +87,8 @@ namespace OpenRA.Mods.RA
|
||||
var mobile = newUnit.TraitOrDefault<Mobile>();
|
||||
if (mobile != null)
|
||||
{
|
||||
newUnit.QueueActivity(new AttackMove.AttackMoveActivity(mobile.MoveTo(rp.rallyPoint, 1)));
|
||||
newUnit.QueueActivity(new AttackMove.AttackMoveActivity(
|
||||
newUnit, mobile.MoveTo(rp.rallyPoint, 1)));
|
||||
return rp.rallyPoint;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user