diff --git a/scenes/ui/quick_slots.gd b/scenes/ui/quick_slots.gd index 58e5412..81f003a 100644 --- a/scenes/ui/quick_slots.gd +++ b/scenes/ui/quick_slots.gd @@ -48,9 +48,9 @@ func _unhandled_input(event: InputEvent) -> void: elif event.is_action_pressed("quickslot10"): select_quick_slot(9) elif event.is_action_pressed("quickslot_next"): - select_quick_slot((_selected_item + 1)) + select_next_item() elif event.is_action_pressed("quickslot_previous"): - select_quick_slot((_selected_item - 1)) + select_previous_item() func get_quickslot_index() -> int: