From b4df567e53442b175164a73de5bb632c87ac9d60 Mon Sep 17 00:00:00 2001 From: mieldepoche Date: Sat, 12 Aug 2023 12:23:29 +0200 Subject: [PATCH] fix overly complex input checking --- addons/panku_console/console.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/panku_console/console.gd b/addons/panku_console/console.gd index 524776c..60ed7a8 100644 --- a/addons/panku_console/console.gd +++ b/addons/panku_console/console.gd @@ -24,7 +24,7 @@ func notify(any) -> void: new_notification_created.emit(text) func _input(event: InputEvent): - if event.is_action(ToggleConsoleAction) and Input.is_action_just_pressed(ToggleConsoleAction): + if event.is_action_pressed(ToggleConsoleAction): toggle_console_action_just_pressed.emit() func _ready():