- camera follows the closest sub

- WIP "respawn shuttle"
- submarine size affects its mass
- electricity fixes
This commit is contained in:
Regalis
2016-06-18 14:46:40 +03:00
parent cf822cfae6
commit dc7956274c
23 changed files with 413 additions and 99 deletions
+1 -1
View File
@@ -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;