diff --git a/core/sceneInstance.gd b/core/sceneInstance.gd index e61b1ff..1115af1 100644 --- a/core/sceneInstance.gd +++ b/core/sceneInstance.gd @@ -24,7 +24,7 @@ func transition_to_scene(new_scene: PackedScene, spawn_location = Vector2(0,0), if (InitialPlayer): player = InitialPlayer.instantiate() player.set_name("player") - add_child(player) + current_scene.get_child(0).add_child(player) else: printerr("No Initial player found") #endregion