Setting camera position correctly when switching to map screen with no character selected (spectating, etc)
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
else if (Submarine.Loaded != null)
|
else if (Submarine.Loaded != null)
|
||||||
{
|
{
|
||||||
cam.Position = Submarine.Loaded.Position;
|
cam.Position = Submarine.Loaded.WorldPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user