Skip to content

Commit

Permalink
fix: missing this check to see if the item needs to be combined with …
Browse files Browse the repository at this point in the history
…something or not
  • Loading branch information
BHSDuncan committed Dec 28, 2022
1 parent b827092 commit 7f1add6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ func perform_inputevent_on_object(
# Check if object must be in inventory to be used and update
# action state if necessary
if obj.node.use_from_inventory_only and \
escoria.inventory_manager.inventory_has(obj.global_id):
escoria.inventory_manager.inventory_has(obj.global_id) and \
need_combine:

# We're missing a target here for our tool to be used on
current_tool = obj
Expand Down

0 comments on commit 7f1add6

Please sign in to comment.