Dungeon player and teleport randomization
This commit is contained in:
@@ -61,7 +61,7 @@ public partial class Game : Node3D, IGame
|
||||
|
||||
private void Map_DungeonFinishedGenerating()
|
||||
{
|
||||
GameRepo.SetPlayerGlobalPosition(Map.GetPlayerSpawnPoint());
|
||||
GameRepo.SetPlayerGlobalPosition(Map.GetPlayerSpawnPosition());
|
||||
}
|
||||
|
||||
private void Map_DialogueChoiceMade()
|
||||
@@ -91,7 +91,6 @@ public partial class Game : Node3D, IGame
|
||||
.Handle((in GameLogic.Output.StartGame _) =>
|
||||
{
|
||||
InGameUI.Show();
|
||||
GameRepo.SetPlayerGlobalPosition(Map.GetPlayerSpawnPoint());
|
||||
})
|
||||
.Handle((in GameLogic.Output.SetPauseMode output) => CallDeferred(nameof(SetPauseMode), output.IsPaused))
|
||||
.Handle((in GameLogic.Output.ShowPauseMenu _) =>
|
||||
|
||||
Reference in New Issue
Block a user