Skip to content

Commit

Permalink
fix overly complex input checking
Browse files Browse the repository at this point in the history
  • Loading branch information
mieldepoche authored and Ark2000 committed Aug 12, 2023
1 parent c14534b commit b4df567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/panku_console/console.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit b4df567

Please sign in to comment.