Level wall generation bugfixes, moved level background drawing to LevelRenderer, more coordinate system bugfixes, better looking progress bars,
This commit is contained in:
@@ -174,7 +174,7 @@ namespace Barotrauma
|
||||
if (PlayerInput.KeyDown(Keys.S)) moveCam.Y -= moveSpeed;
|
||||
if (PlayerInput.KeyDown(Keys.W)) moveCam.Y += moveSpeed;
|
||||
|
||||
if (Submarine.Loaded!=null)
|
||||
if (Submarine.Loaded!=null && Screen.Selected == GameMain.GameScreen)
|
||||
{
|
||||
moveCam += FarseerPhysics.ConvertUnits.ToDisplayUnits(Submarine.Loaded.Velocity*deltaTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user