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:
@@ -19,7 +19,7 @@ namespace Barotrauma
|
||||
|
||||
public void CreateItems()
|
||||
{
|
||||
WayPoint wp = WayPoint.GetRandom(SpawnType.Cargo);
|
||||
WayPoint wp = WayPoint.GetRandom(SpawnType.Cargo, null, Submarine.MainSub);
|
||||
|
||||
if (wp==null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user