start of shellmap (dropped its actors :(); fix saving of actors from the editor

This commit is contained in:
Chris Forbes
2010-09-09 22:06:47 +12:00
parent 452f7f7bff
commit 975fa28f62
4 changed files with 48 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRA.FileFormats
foreach( var init in InitDict )
{
var initName = init.GetType().Name;
ret.NodesDict.Add( initName.Substring( 0, initName.Length - 4 ), FieldSaver.Save( init ) );
ret.Nodes.Add( new MiniYamlNode( initName.Substring( 0, initName.Length - 4 ), FieldSaver.Save( init ) ) );
}
return ret;
}