(2402e736e) Tester's build, January 25th 2020
This commit is contained in:
@@ -228,7 +228,9 @@ namespace Barotrauma
|
||||
if (hulls[i] == null) hulls[i] = Hull.FindHullOld(searchPos[i], null, false, true);
|
||||
}
|
||||
|
||||
if (hulls[0] == null && hulls[1] == null) return;
|
||||
if (hulls[1] == hulls[0]) { hulls[1] = null; }
|
||||
|
||||
if (hulls[0] == null && hulls[1] == null) { return; }
|
||||
|
||||
if (hulls[0] == null && hulls[1] != null)
|
||||
{
|
||||
|
||||
@@ -619,7 +619,10 @@ namespace Barotrauma
|
||||
if (Bodies != null)
|
||||
{
|
||||
foreach (Body b in Bodies)
|
||||
{
|
||||
GameMain.World.Remove(b);
|
||||
}
|
||||
Bodies.Clear();
|
||||
}
|
||||
|
||||
if (Sections != null)
|
||||
@@ -648,7 +651,10 @@ namespace Barotrauma
|
||||
if (Bodies != null)
|
||||
{
|
||||
foreach (Body b in Bodies)
|
||||
{
|
||||
GameMain.World.Remove(b);
|
||||
}
|
||||
Bodies.Clear();
|
||||
}
|
||||
|
||||
if (Sections != null)
|
||||
|
||||
Reference in New Issue
Block a user