Add buttons for map file management to map chooser

This commit is contained in:
Oliver Brakmann
2015-01-16 15:49:55 +01:00
parent 1854d994fd
commit dc08b7a90a
4 changed files with 109 additions and 0 deletions

View File

@@ -274,5 +274,11 @@ namespace OpenRA
Map.PreloadRules();
RuleStatus = Map.InvalidCustomRules ? MapRuleStatus.Invalid : MapRuleStatus.Cached;
}
public void Invalidate()
{
Status = MapStatus.Unavailable;
RuleStatus = MapRuleStatus.Unknown;
}
}
}