Changes shroud lobby setting from disabling shroud to revealing it.
This commit is contained in:
@@ -282,7 +282,7 @@ namespace OpenRA.Traits
|
||||
return explored.Contains(uv) && explored[uv] && (generatedShroudCount[uv] == 0 || visibleCount[uv] > 0);
|
||||
}
|
||||
|
||||
public bool ShroudEnabled { get { return !Disabled && self.World.LobbyInfo.GlobalSettings.Shroud; } }
|
||||
public bool ShroudEnabled { get { return !Disabled; } }
|
||||
|
||||
/// <summary>
|
||||
/// Returns a fast exploration lookup that skips the usual validation.
|
||||
|
||||
@@ -180,6 +180,10 @@ namespace OpenRA
|
||||
MapUid = Map.Uid,
|
||||
MapTitle = Map.Title
|
||||
};
|
||||
|
||||
if (!LobbyInfo.GlobalSettings.Shroud)
|
||||
foreach (var player in Players)
|
||||
player.Shroud.ExploreAll(this);
|
||||
}
|
||||
|
||||
public void LoadComplete(WorldRenderer wr)
|
||||
|
||||
Reference in New Issue
Block a user