@@ -132,13 +132,19 @@ namespace OpenRA
|
|||||||
{
|
{
|
||||||
var r = FieldLoader.Load<RemoteMapData>(yaml);
|
var r = FieldLoader.Load<RemoteMapData>(yaml);
|
||||||
|
|
||||||
// Map is not useable by the current version
|
// Map download has been disabled server side
|
||||||
if (!r.downloading || r.requires_upgrade)
|
if (!r.downloading)
|
||||||
{
|
{
|
||||||
Status = MapStatus.Unavailable;
|
Status = MapStatus.Unavailable;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Map is not useable by the current version
|
||||||
|
if (r.requires_upgrade)
|
||||||
|
RuleStatus = MapRuleStatus.Invalid;
|
||||||
|
else
|
||||||
|
RuleStatus = MapRuleStatus.Cached;
|
||||||
|
|
||||||
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