From 8cd643e06a64c2ac7f9eea967e1f2deed2e9116f Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 16 Mar 2014 18:12:38 +1300 Subject: [PATCH] Fix editor compilation. --- OpenRA.Editor/MapSelect.cs | 2 +- OpenRA.Game/MapCache.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Editor/MapSelect.cs b/OpenRA.Editor/MapSelect.cs index 68d1514497..4f2c3613b0 100644 --- a/OpenRA.Editor/MapSelect.cs +++ b/OpenRA.Editor/MapSelect.cs @@ -45,7 +45,7 @@ namespace OpenRA.Editor if (DirectoryIsEmpty(MapFolderPath)) return; - foreach (var map in ModData.FindMapsIn(MapFolderPath)) + foreach (var map in MapCache.FindMapsIn(MapFolderPath)) { ListViewItem map1 = new ListViewItem(); map1.Tag = map; diff --git a/OpenRA.Game/MapCache.cs b/OpenRA.Game/MapCache.cs index 2bc12027e5..cd0beec736 100755 --- a/OpenRA.Game/MapCache.cs +++ b/OpenRA.Game/MapCache.cs @@ -57,7 +57,7 @@ namespace OpenRA } } - static IEnumerable FindMapsIn(string dir) + public static IEnumerable FindMapsIn(string dir) { string[] noMaps = { };