mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-16 08:55:33 +00:00
✨ Use escape key to get back to main menu
This commit is contained in:
parent
c3f5d20b77
commit
07fcd52dc9
2 changed files with 20 additions and 13 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue