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()