- teleporting from sub to another works now
- repairtool fix - submarines collide with each other - every submarine is updated (so MainSub isn't the only one that can move) - submarinebody vertex generation fix
This commit is contained in:
@@ -136,11 +136,11 @@ namespace Barotrauma
|
||||
|
||||
Ragdoll.UpdateAll(cam, (float)Physics.step);
|
||||
|
||||
if (GameMain.GameSession != null && GameMain.GameSession.Level != null && GameMain.GameSession.Submarine!=null)
|
||||
foreach (Submarine sub in Submarine.Loaded)
|
||||
{
|
||||
GameMain.GameSession.Submarine.Update((float)Physics.step);
|
||||
sub.Update((float)Physics.step);
|
||||
}
|
||||
|
||||
|
||||
GameMain.World.Step((float)Physics.step);
|
||||
|
||||
//Level.AfterWorldStep();
|
||||
|
||||
Reference in New Issue
Block a user