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:
Joonas Rikkonen
2018-08-07 12:45:45 +03:00
parent 5354670288
commit 4b0c54d664
4 changed files with 41 additions and 7 deletions
@@ -62,6 +62,8 @@ namespace Barotrauma.Items.Components
}
}
if (!GameMain.DebugDraw) return;
if (bodies != null)
{
for (int i = 0; i < bodies.Length; i++)