Changed IFolder implementations' priorities to be based on listing order in mod.yaml

This commit is contained in:
Matthew Bowra-Dean
2010-10-28 22:21:54 +13:00
parent 15d6facdb9
commit 4490a90332
8 changed files with 22 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Editor
if (MapList.SelectedItems.Count == 1)
{
txtNew.Text = MapList.SelectedItems[0].Text;
var map = new Map(new Folder(Path.Combine(MapFolderPath, MapList.SelectedItems[0].Text)));
var map = new Map(new Folder(Path.Combine(MapFolderPath, MapList.SelectedItems[0].Text), 0));
txtTitle.Text = map.Title;
txtAuthor.Text = map.Author;
txtTheater.Text = map.Theater;