depend on proper status in auto-downloading
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user