Fix nested folders

This commit is contained in:
Ategon 2024-08-27 19:43:31 -04:00
parent 33f28268cd
commit f3dfc02119

View file

@ -70,7 +70,7 @@ func _load_directory(path: String):
while file_name != "": while file_name != "":
if not dir.current_is_dir(): 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 instance = file.new()
var new_tracks = instance.get_tracks() var new_tracks = instance.get_tracks()