diff --git a/player/Player.gd b/player/Player.gd index 3f9d2d4..d56f494 100644 --- a/player/Player.gd +++ b/player/Player.gd @@ -134,7 +134,7 @@ func _input(event): respawn() if event is InputEventKey and event.keycode == KEY_ESCAPE: - get_tree().quit() + $"/root/BaseScene".move_to_menu() if event is InputEventMouseMotion: var vec = event.relative