Add RadarPing on worm spawn, fix wandering issue, add new Wormspawner.shp

This commit is contained in:
penev92
2014-11-30 15:39:47 +02:00
parent 61cb74adb4
commit b4d1a605da
4 changed files with 31 additions and 11 deletions

View File

@@ -49,7 +49,8 @@ namespace OpenRA.Mods.RA.Traits
public void TickIdle(Actor self)
{
if (TargetLocation.HasValue)
// This might cause the actor to be stuck if the target location is unreachable
if (TargetLocation.HasValue && self.Location != TargetLocation.Value)
Activate(self);
}