Dockingport gap linking fixes. Closes #551
- Dockingports force the hatch/door gaps to be connected to the hulls between the ports, because connecting them automatically may fail if the ports are positioned in a non-standard way. - Gaps don't recheck hulls in OnMapLoaded if rechecks have been disabled. - Item.UpdateHulls and Gap.UpdateHulls are not called when OnMapLoaded is called during ruin generation.
This commit is contained in:
@@ -62,6 +62,8 @@ namespace Barotrauma.Items.Components
|
||||
}
|
||||
}
|
||||
|
||||
if (!GameMain.DebugDraw) return;
|
||||
|
||||
if (bodies != null)
|
||||
{
|
||||
for (int i = 0; i < bodies.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user