Fix Altar scaling

This commit is contained in:
2026-02-03 20:52:14 -08:00
parent d9c2ba7ed1
commit 3e6e21977e
33 changed files with 206 additions and 198 deletions

View File

@@ -208,7 +208,7 @@ public class EffectService
var roomsGodotCollection = new Godot.Collections.Array<MonsterRoom>(validRooms);
var randomRoom = roomsGodotCollection.PickRandom();
var spawnPoint = randomRoom.PlayerSpawn;
player.TeleportPlayer(spawnPoint.Transform);
player.TeleportPlayer((spawnPoint.Rotation, spawnPoint.Position));
SfxDatabase.Instance.Play(SoundEffect.TeleportToRandomRoom);
}
@@ -232,7 +232,7 @@ public class EffectService
if (exitRoom.PlayerDiscoveredRoom)
{
SfxDatabase.Instance.Play(SoundEffect.TeleportToExit);
player.TeleportPlayer(exitRoom.PlayerSpawn.Transform);
player.TeleportPlayer((exitRoom.PlayerSpawn.Rotation, exitRoom.PlayerSpawn.Position));
}
}
}