- multiple submarines can be "merged" into one file (to be used as escape vessels etc)

- WIP docking ports
This commit is contained in:
Regalis
2016-06-26 14:31:00 +03:00
parent 296c5a14ed
commit b04e204dc3
19 changed files with 740 additions and 108 deletions
+2 -2
View File
@@ -1432,7 +1432,7 @@ namespace Barotrauma
return true;
}
public override XElement Save(XDocument doc)
public override XElement Save(XElement parentElement)
{
XElement element = new XElement("Item");
@@ -1475,7 +1475,7 @@ namespace Barotrauma
ic.Save(element);
}
doc.Root.Add(element);
parentElement.Add(element);
return element;
}