Externalised songs folder
This commit is contained in:
parent
59b7812a40
commit
2e02e279c4
2
Menu.gd
2
Menu.gd
|
@ -33,7 +33,7 @@ var snd_interact := preload("res://assets/softclap.wav")
|
|||
|
||||
func scan_library():
|
||||
print("Scanning library")
|
||||
var rootdir = "res://songs"
|
||||
var rootdir = "user://songs"
|
||||
var dir = Directory.new()
|
||||
var err = dir.open(rootdir)
|
||||
if err == OK:
|
||||
|
|
Loading…
Reference in New Issue