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

@@ -62,7 +62,7 @@ namespace OpenRA.Editor
Game.modData = new ModData(currentMod);
// load the map
var map = new Map(new Folder(mapname));
var map = new Map(new Folder(mapname, 0));
// upgrade maps that have no player definitions. editor doesnt care,
// but this breaks the game pretty badly.