fix: repair gameplay controller input handling

This commit is contained in:
Alexander Sellite 2026-08-16 12:26:17 -04:00
parent ce733818e2
commit 908cf2733a
7 changed files with 77 additions and 24 deletions

View file

@ -1362,9 +1362,6 @@ func _unhandled_input(event: InputEvent) -> void:
):
_game_ui.set_shop_prompt_visible(false)
get_viewport().set_input_as_handled()
elif event is InputEventJoypadButton and _player != null:
_player.hotbar.clear_slot(_player.hotbar.get_selected_slot())
get_viewport().set_input_as_handled()
func _process(_delta: float) -> void: