hot fix
This commit is contained in:
parent
533a68d9ca
commit
b958fc2195
@ -53,8 +53,8 @@ func _unhandled_input(event: InputEvent) -> void:
|
|||||||
if not current_child:
|
if not current_child:
|
||||||
return
|
return
|
||||||
if quit_closeup_on_cancel and event.is_action_pressed("cancel"):
|
if quit_closeup_on_cancel and event.is_action_pressed("cancel"):
|
||||||
_exit()
|
|
||||||
get_viewport().set_input_as_handled()
|
get_viewport().set_input_as_handled()
|
||||||
|
_exit()
|
||||||
# 在有特写界面时,阻塞 interact 输入
|
# 在有特写界面时,阻塞 interact 输入
|
||||||
elif event.is_action_pressed("interact"):
|
elif event.is_action_pressed("interact"):
|
||||||
get_viewport().set_input_as_handled()
|
get_viewport().set_input_as_handled()
|
||||||
|
Loading…
Reference in New Issue
Block a user