Fix map linting crashing for not existing directories

This commit is contained in:
abcdefg30
2017-10-07 11:14:03 +02:00
committed by Paul Chote
parent 24c293e821
commit 27345c1f6a
3 changed files with 51 additions and 24 deletions

View File

@@ -28,7 +28,14 @@ namespace OpenRA
public enum MapStatus { Available, Unavailable, Searching, DownloadAvailable, Downloading, DownloadError }
// Used for grouping maps in the UI
public enum MapClassification { Unknown, System, User, Remote }
[Flags]
public enum MapClassification
{
Unknown = 0,
System = 1,
User = 2,
Remote = 4
}
// Used for verifying map availability in the lobby
public enum MapRuleStatus { Unknown, Cached, Invalid }