Disable hide map crate if explored map is enabled.

This commit is contained in:
Paul Chote
2016-06-18 14:18:05 +01:00
parent e70590fd94
commit 9edf4be229
2 changed files with 5 additions and 4 deletions

View File

@@ -32,8 +32,8 @@ namespace OpenRA.Mods.Common.Traits
public override int GetSelectionShares(Actor collector)
{
// Don't ever hide the map for people who have GPS.
if (collector.Owner.HasFogVisibility)
// Don't hide the map if the shroud is force-revealed
if (collector.Owner.HasFogVisibility || collector.Owner.Shroud.ExploreMapEnabled)
return 0;
return base.GetSelectionShares(collector);