Setting camera position correctly when switching to map screen with no character selected (spectating, etc)

This commit is contained in:
Regalis
2016-01-25 18:56:29 +02:00
parent 08daab9d87
commit 71faada355
2 changed files with 1 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ namespace Barotrauma
}
else if (Submarine.Loaded != null)
{
cam.Position = Submarine.Loaded.Position;
cam.Position = Submarine.Loaded.WorldPosition;
}

Binary file not shown.