This commit is contained in:
Matthew Bowra-Dean
2010-10-21 00:42:10 +13:00
committed by Chris Forbes
parent de92a2fc0c
commit f6df7a06f2
18 changed files with 25 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ namespace OpenRA.Mods.RA
if (self.Owner == self.World.LocalPlayer)
self.World.AddFrameEndTask( w =>
{
if (self.Destroyed) return;
var line = self.TraitOrDefault<DrawLineToTarget>();
if (line != null)
line.SetTargetSilently(self, Target.FromActor(order.TargetActor), Color.Green);