Fix issue where songs were not playing on finish
This commit is contained in:
parent
66117d14aa
commit
8dce1ee84b
1 changed files with 4 additions and 0 deletions
|
@ -93,3 +93,7 @@ func _load_directory(path: String):
|
||||||
_load_directory("res://tracks/%s" % [file_name])
|
_load_directory("res://tracks/%s" % [file_name])
|
||||||
|
|
||||||
file_name = dir.get_next()
|
file_name = dir.get_next()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_audio_stream_player_finished() -> void:
|
||||||
|
_play()
|
||||||
|
|
Loading…
Reference in a new issue