fix title screen start button
This commit is contained in:
parent
51601d5ad1
commit
7ed967908b
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@ extends Node
|
||||||
export var next_menu: PackedScene
|
export var next_menu: PackedScene
|
||||||
|
|
||||||
func _input(event):
|
func _input(event):
|
||||||
if (event is InputEventKey or event is InputEventJoypadButton) and event.pressed:
|
if Input.is_action_just_pressed("start"):
|
||||||
SceneManager.current_scene = next_menu.instance()
|
SceneManager.current_scene = next_menu.instance()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue