From 305f76e3005ff84e8a6331ce46874bb989602d1f Mon Sep 17 00:00:00 2001 From: ihptru Date: Sun, 6 Jul 2014 15:22:21 +0400 Subject: [PATCH] depend on proper status in auto-downloading --- OpenRA.Game/Map/MapPreview.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/OpenRA.Game/Map/MapPreview.cs b/OpenRA.Game/Map/MapPreview.cs index 44ffb4e2d9..b561eb1676 100755 --- a/OpenRA.Game/Map/MapPreview.cs +++ b/OpenRA.Game/Map/MapPreview.cs @@ -39,7 +39,6 @@ namespace OpenRA public readonly int[] spawnpoints = {}; public readonly string minimap; public readonly bool downloading; - public readonly bool requires_upgrade; } public class MapPreview @@ -131,15 +130,10 @@ namespace OpenRA if (!r.downloading) { Status = MapStatus.Unavailable; + RuleStatus = MapRuleStatus.Invalid; return; } - // Map is not useable by the current version - if (r.requires_upgrade) - RuleStatus = MapRuleStatus.Invalid; - else - RuleStatus = MapRuleStatus.Unknown; - Title = r.title; Type = r.map_type; Author = r.author;