fixed bug where exiting from options would softlock
This commit is contained in:
parent
e8ec987c6a
commit
655d000b51
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
|||
Options.save_options()
|
||||
|
||||
if can_exit and event.is_action_pressed("ui_cancel"):
|
||||
emit_signal("exit")
|
||||
if visible == true: emit_signal("exit")
|
||||
|
||||
|
||||
func _init_values() -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue