Fix editor compilation.

This commit is contained in:
Paul Chote
2014-03-16 18:12:38 +13:00
parent f528ff5c6f
commit 8cd643e06a
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRA.Editor
if (DirectoryIsEmpty(MapFolderPath)) if (DirectoryIsEmpty(MapFolderPath))
return; return;
foreach (var map in ModData.FindMapsIn(MapFolderPath)) foreach (var map in MapCache.FindMapsIn(MapFolderPath))
{ {
ListViewItem map1 = new ListViewItem(); ListViewItem map1 = new ListViewItem();
map1.Tag = map; map1.Tag = map;

View File

@@ -57,7 +57,7 @@ namespace OpenRA
} }
} }
static IEnumerable<string> FindMapsIn(string dir) public static IEnumerable<string> FindMapsIn(string dir)
{ {
string[] noMaps = { }; string[] noMaps = { };