fix various desyncs when using cheats

This commit is contained in:
Chris Forbes
2010-09-23 20:50:35 +12:00
parent 66493031c8
commit 45c77e64ee
2 changed files with 4 additions and 7 deletions

View File

@@ -67,18 +67,15 @@ namespace OpenRA.Traits
break;
}
case "DevShroud":
{
{
DisableShroud ^= true;
if (self.World.LocalPlayer == self.Owner)
{
DisableShroud ^= true;
Game.world.LocalPlayer.Shroud.Disabled = DisableShroud;
}
break;
}
case "DevPathDebug":
{
if (self.World.LocalPlayer == self.Owner)
PathDebug ^= true;
PathDebug ^= true;
break;
}
case "DevUnitDebug":