Fix world visibility checks when shroud is disabled.
This commit is contained in:
@@ -84,6 +84,7 @@ namespace OpenRA.Traits
|
||||
case "DevShroudDisable":
|
||||
{
|
||||
DisableShroud ^= true;
|
||||
self.Owner.Shroud.Disabled = DisableShroud;
|
||||
if (self.World.LocalPlayer == self.Owner)
|
||||
self.World.RenderPlayer = DisableShroud ? null : self.Owner;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user