Upgrade maps to oramap format. Save type field.

This commit is contained in:
Paul Chote
2010-12-30 18:00:44 +13:00
parent fd49ca75d7
commit 4f6f3eb80d
98 changed files with 24 additions and 10462 deletions

View File

@@ -200,7 +200,7 @@ namespace OpenRA
MapFormat = 3;
var root = new List<MiniYamlNode>();
foreach (var field in new string[] {"Selectable", "MapFormat", "Title", "Description", "Author", "PlayerCount", "Tileset", "MapSize", "TopLeft", "BottomRight", "UseAsShellmap"})
foreach (var field in new string[] {"Selectable", "MapFormat", "Title", "Description", "Author", "PlayerCount", "Tileset", "MapSize", "TopLeft", "BottomRight", "UseAsShellmap", "Type"})
{
FieldInfo f = this.GetType().GetField(field);
if (f.GetValue(this) == null) continue;