diff --git a/scripts/game_key.gd b/scripts/game_key.gd index 5c127f3..1c6258d 100644 --- a/scripts/game_key.gd +++ b/scripts/game_key.gd @@ -113,6 +113,9 @@ func _unhandled_input(event: InputEvent) -> void: if ( event_key.physical_keycode != props.physical_keycode or event_key.echo + or ( + event_key.physical_keycode == KEY_NONE or props.physical_keycode == KEY_NONE + ) or ( event_key.location != KEY_LOCATION_UNSPECIFIED and props.location != KEY_LOCATION_UNSPECIFIED