Move MapVisibility to MapPreview.

This commit is contained in:
Paul Chote
2016-02-05 08:23:16 +00:00
parent 6aac8c5f70
commit 7a5678ec39
6 changed files with 9 additions and 6 deletions

View File

@@ -445,7 +445,7 @@ namespace OpenRA
static string ChooseShellmap()
{
var shellmaps = ModData.MapCache
.Where(m => m.Status == MapStatus.Available && m.Map.Visibility.HasFlag(MapVisibility.Shellmap))
.Where(m => m.Status == MapStatus.Available && m.Visibility.HasFlag(MapVisibility.Shellmap))
.Select(m => m.Uid);
if (!shellmaps.Any())