forked from team-sg/hero-mark-2
fixed more menu weirdness
This commit is contained in:
parent
84182e5665
commit
5e2f789e40
5 changed files with 13 additions and 6 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue