Fix exports

This commit is contained in:
2020-05-16 22:04:13 -04:00
parent 799f61f8f9
commit 80ae6f8785
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ func _ready():
func play_music(song, loop=true):
var audio_file = "res://Assets/Music/" + song + ".ogg"
if File.new().file_exists(audio_file):
if load(audio_file):
var track = load(audio_file)
looping = loop
main_player.stream = track