fix: fixed the sceneEntrance to the dungeoun and back; fixed the opened chest state after switching scenes;

This commit is contained in:
2026-09-20 16:38:08 +02:00
parent e789ea0717
commit 31c34978f2
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func _process(delta: float) -> void:
func _on_body_entered(body: Player) -> void:
print("body entered!")
$"/root/SceneManager".player_next_scene_spawn_pos = player_spawn_pos
SceneManager.player_next_scene_spawn_pos = player_spawn_pos
get_tree().change_scene_to_file.call_deferred(next_scene)
pass # Replace with function body.