fix invisible units with gps
This commit is contained in:
@@ -40,6 +40,7 @@ namespace OpenRA.Traits
|
|||||||
{
|
{
|
||||||
return self.World.LocalPlayer == null
|
return self.World.LocalPlayer == null
|
||||||
|| self.Owner == self.World.LocalPlayer
|
|| self.Owner == self.World.LocalPlayer
|
||||||
|
|| self.World.LocalPlayer.Shroud.Disabled
|
||||||
|| shroud.visibleCells[self.Location.X, self.Location.Y] > 0;
|
|| shroud.visibleCells[self.Location.X, self.Location.Y] > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user