fix: repair gameplay controller input handling
This commit is contained in:
parent
ce733818e2
commit
908cf2733a
7 changed files with 77 additions and 24 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue