- characters aren't teleported through gaps if a wall doesn't have a hole there
- characters aren't teleported outside until they're far enough from hulls (prevents them from "jumping" outside as they're teleported partially inside the body of the sub) - arms are mirrored/flipped when turning in water
This commit is contained in:
@@ -971,8 +971,9 @@ namespace Barotrauma
|
||||
foreach (Item item in inventory.Items)
|
||||
{
|
||||
if (item == null || item.body == null || item.body.Enabled) continue;
|
||||
item.Submarine = Submarine;
|
||||
|
||||
item.SetTransform(SimPosition, 0.0f);
|
||||
item.Submarine = Submarine;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user