Externalised songs folder

This commit is contained in:
Luke Hubmayer-Werner 2019-12-11 18:14:37 +10:30
parent 59b7812a40
commit 2e02e279c4
2 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ var snd_interact := preload("res://assets/softclap.wav")
func scan_library(): func scan_library():
print("Scanning library") print("Scanning library")
var rootdir = "res://songs" var rootdir = "user://songs"
var dir = Directory.new() var dir = Directory.new()
var err = dir.open(rootdir) var err = dir.open(rootdir)
if err == OK: if err == OK:

View File