add audio_manager and code refactoring
This commit is contained in:
@@ -10,7 +10,6 @@ func _ready():
|
||||
|
||||
func play_track(index: int = current_track_index):
|
||||
if playlist.is_empty():
|
||||
push_warning("Playlist is empty")
|
||||
return
|
||||
|
||||
current_track_index = posmod(index, playlist.size())
|
||||
|
||||
Reference in New Issue
Block a user