fix: missing this check to see if the item needs to be combined with something or not
This commit is contained in:
1 parent
b827092176
commit
7f1add6505
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user