- camera follows the closest sub
- WIP "respawn shuttle" - submarine size affects its mass - electricity fixes
This commit is contained in:
@@ -523,7 +523,7 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
CurrentHull = Hull.FindHull(WorldPosition, CurrentHull);
|
||||
if (body != null)
|
||||
if (body != null && body.Enabled)
|
||||
{
|
||||
Submarine = CurrentHull == null ? null : CurrentHull.Submarine;
|
||||
body.Submarine = Submarine;
|
||||
|
||||
Reference in New Issue
Block a user