another similar desync bug

This commit is contained in:
Chris Forbes
2010-01-09 09:07:48 +13:00
parent 735984f326
commit 4a44bec2a7

View File

@@ -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();