Use escape key to get back to main menu

This commit is contained in:
Squinty 2024-04-17 19:21:31 +00:00
parent 3e28091661
commit 94fbf5c604
2 changed files with 20 additions and 13 deletions

View file

@ -30,7 +30,6 @@ func _ready():
var has_authority = is_multiplayer_authority()
set_process(has_authority)
set_process_unhandled_input(has_authority)
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
func _unhandled_input(event: InputEvent) -> void:
var mouse_mode = Input.get_mouse_mode()