- disabled unnecessary hull updates during loading (items/gaps find the hull when everything is loaded instead of every time a hull is created or moved)

- fixed item.Submarine not being set in item.FindHull
This commit is contained in:
Regalis11
2016-05-14 23:01:57 +03:00
parent d884f84346
commit c546c42a8b
5 changed files with 47 additions and 24 deletions
+2 -1
View File
@@ -603,8 +603,9 @@ namespace Barotrauma
public override void OnMapLoaded()
{
UpdateHulls();
FindHulls();
}
public override XElement Save(XDocument doc)
{
XElement element = new XElement("Gap");