From f3dfc02119deb42e4c9f9f1c51c7f2fa1ed8f0a4 Mon Sep 17 00:00:00 2001 From: Ategon Date: Tue, 27 Aug 2024 19:43:31 -0400 Subject: [PATCH] Fix nested folders --- src/main.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.gd b/src/main.gd index d471c71..0bc2ed9 100644 --- a/src/main.gd +++ b/src/main.gd @@ -70,7 +70,7 @@ func _load_directory(path: String): while file_name != "": if not dir.current_is_dir(): - var file = load("res://tracks/%s" % [file_name]) + var file = load("%s/%s" % [path, file_name]) var instance = file.new() var new_tracks = instance.get_tracks()