diff --git a/addons/debug/Debug.gd b/addons/debug/Debug.gd index 6155a9c..9dad4f3 100644 --- a/addons/debug/Debug.gd +++ b/addons/debug/Debug.gd @@ -50,11 +50,11 @@ func _ready(): _logging_cmd() -func _unhandled_input(event): - if event.is_action_pressed("dev"): - visible = !visible - if visible: - input.grab_focus() +#func _unhandled_input(event): +# if event.is_action_pressed("dev"): +# visible = !visible +# if visible: +# input.grab_focus() func print_line(str: String): diff --git a/src/menu/Pause.gd b/src/menu/Pause.gd index 0308db4..8c8f354 100644 --- a/src/menu/Pause.gd +++ b/src/menu/Pause.gd @@ -14,6 +14,8 @@ func _ready(): clear_menu() back_button.visible = start_scene != null +func _exit_tree(): + get_tree().paused = false func _handle_event(event: InputEvent): if event.is_action_pressed("ui_cancel"):