isn't desync fun\!

This commit is contained in:
Chris Forbes
2010-01-25 18:58:12 +13:00
parent 96cc1502d0
commit cbd15af334
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ namespace OpenRa.Mods.RA
public bool IsPathableCrush(UnitMovementType umt, Player player)
{
return !self.Info.Traits.Get<MineInfo>().AvoidFriendly || (player != self.World.LocalPlayer);
return !self.Info.Traits.Get<MineInfo>().AvoidFriendly || (player != self.Owner);
}
public bool IsCrushableBy(UnitMovementType umt, Player player)