From 4a44bec2a7b31f0012fcfed045e943c0462da9ba Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 9 Jan 2010 09:07:48 +1300 Subject: [PATCH] another similar desync bug --- OpenRa.Game/Traits/ChronoshiftDeploy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Traits/ChronoshiftDeploy.cs b/OpenRa.Game/Traits/ChronoshiftDeploy.cs index 089ec5ab54..6e14c5faf4 100644 --- a/OpenRa.Game/Traits/ChronoshiftDeploy.cs +++ b/OpenRa.Game/Traits/ChronoshiftDeploy.cs @@ -38,7 +38,7 @@ namespace OpenRa.Game.Traits if (order.OrderString == "ChronoshiftSelf" && movement.CanEnterCell(order.TargetLocation)) { // Cannot chronoshift into unexplored location - if (!Game.LocalPlayer.Shroud.IsExplored(order.TargetLocation)) + if (!self.Owner.Shroud.IsExplored(order.TargetLocation)) return; Game.controller.CancelInputMode();