depend on proper status in auto-downloading
This commit is contained in:
@@ -39,7 +39,6 @@ namespace OpenRA
|
|||||||
public readonly int[] spawnpoints = {};
|
public readonly int[] spawnpoints = {};
|
||||||
public readonly string minimap;
|
public readonly string minimap;
|
||||||
public readonly bool downloading;
|
public readonly bool downloading;
|
||||||
public readonly bool requires_upgrade;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MapPreview
|
public class MapPreview
|
||||||
@@ -131,15 +130,10 @@ namespace OpenRA
|
|||||||
if (!r.downloading)
|
if (!r.downloading)
|
||||||
{
|
{
|
||||||
Status = MapStatus.Unavailable;
|
Status = MapStatus.Unavailable;
|
||||||
|
RuleStatus = MapRuleStatus.Invalid;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Map is not useable by the current version
|
|
||||||
if (r.requires_upgrade)
|
|
||||||
RuleStatus = MapRuleStatus.Invalid;
|
|
||||||
else
|
|
||||||
RuleStatus = MapRuleStatus.Unknown;
|
|
||||||
|
|
||||||
Title = r.title;
|
Title = r.title;
|
||||||
Type = r.map_type;
|
Type = r.map_type;
|
||||||
Author = r.author;
|
Author = r.author;
|
||||||
|
|||||||
Reference in New Issue
Block a user