mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-21 23:34:21 +00:00
Press esc to return to the menu
This commit is contained in:
parent
cd25d45031
commit
feeb9a456d
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ func _input(event):
|
|||
respawn()
|
||||
|
||||
if event is InputEventKey and event.keycode == KEY_ESCAPE:
|
||||
get_tree().quit()
|
||||
$"/root/BaseScene".move_to_menu()
|
||||
|
||||
if event is InputEventMouseMotion:
|
||||
var vec = event.relative
|
||||
|
|
Loading…
Reference in a new issue