Fixed docking ports leaking if multiple vessels have docked to the main sub, cargo is always spawned in the main sub

This commit is contained in:
Regalis
2016-08-19 20:13:24 +03:00
parent ef0098d52a
commit 08817090a0
5 changed files with 9 additions and 3 deletions
@@ -377,6 +377,7 @@ namespace Barotrauma.Items.Components
hullIds[0] = hulls[0].ID;
hullIds[1] = hulls[1].ID;
gap.DisableHullRechecks = true;
gapId = gap.ID;
item.linkedTo.Add(gap);