Item.SetContainedItemPositions recursively sets the positions of the items contained inside the contained items (and so on)
This commit is contained in:
@@ -609,6 +609,8 @@ namespace Barotrauma
|
|||||||
|
|
||||||
contained.Submarine = Submarine;
|
contained.Submarine = Submarine;
|
||||||
contained.CurrentHull = CurrentHull;
|
contained.CurrentHull = CurrentHull;
|
||||||
|
|
||||||
|
contained.SetContainedItemPositions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user