Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielElisenberg committed Apr 15, 2024
1 parent 3fbd589 commit 62c5753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/title_menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ func _process(delta):
if Input.is_action_just_pressed("down"):
choice = "controls"
selector.position = controls_position
if Input.is_action_just_pressed("jump"):
elif Input.is_action_just_pressed("ui_up"):
choice = "play"
selector.position = play_position
if Input.is_action_just_pressed("ui_accept"):
elif Input.is_action_just_pressed("ui_accept"):
if choice == "play":
get_tree().change_scene_to_file("res://scenes/intro.tscn")
else:
Expand Down

0 comments on commit 62c5753

Please sign in to comment.