fixed bug where exiting from options would softlock

This commit is contained in:
pennyrigate 2024-07-12 00:36:02 -04:00
parent e8ec987c6a
commit 655d000b51
2 changed files with 2 additions and 2 deletions

View file

@ -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: