fixed more menu weirdness

This commit is contained in:
pennyrigate 2024-07-13 22:38:34 -04:00
parent 84182e5665
commit 5e2f789e40
5 changed files with 13 additions and 6 deletions

View file

@ -15,8 +15,6 @@ func _gui_input(event):
current_selection += 1
if Input.is_action_just_pressed("ui_accept"):
Audio.play_sound(songs[current_selection],Audio.ac_music)
if Input.is_action_just_pressed("ui_cancel"):
Audio.ac_music.stop()
current_selection = posmod(current_selection,songs.size())
body.text = titles[current_selection]