#82 deliver to allied proc -- fixed

This commit is contained in:
Chris Forbes
2010-09-16 18:22:45 +12:00
parent 06aba5da46
commit 483ca8cc4c

View File

@@ -106,7 +106,7 @@ namespace OpenRA.Mods.RA
if (!self.World.LocalPlayer.Shroud.IsExplored(xy)) return null;
if (underCursor != null
&& underCursor.Owner == self.Owner
&& self.Owner.Stances[ underCursor.Owner ] == Stance.Ally
&& underCursor.HasTrait<IAcceptOre>())
{
return new Order("Deliver", self, underCursor);