Move player during load screens to prevent activating minimaps for current position
This commit is contained in:
@@ -105,6 +105,7 @@ public partial class Map : Node3D, IMap
|
||||
private void ClearCurrentMap()
|
||||
{
|
||||
CurrentFloor?.CallDeferred(MethodName.QueueFree, []);
|
||||
Player.TeleportPlayer(new Transform3D(Basis.Identity, new Vector3(-999, -999, -999)));
|
||||
}
|
||||
|
||||
private void SetupDungeonFloor()
|
||||
|
||||
@@ -19,6 +19,7 @@ public partial class CorridorRoom : Node3D
|
||||
|
||||
public void Setup()
|
||||
{
|
||||
if (_room != null)
|
||||
_room.BodyEntered += Room_BodyEntered;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user