fix: should now also prevent areas from spawning events; also removes a superfluous variable

This commit is contained in:
Duncan Brown
2022-04-02 15:52:01 -04:00
committed by Julian Murgia
parent 85b86f38be
commit 6d98e7bdce
12 changed files with 67 additions and 44 deletions

View File

@@ -244,7 +244,7 @@ func left_click_on_inventory_item(inventory_item_global_id: String, event: Input
escoria.action_manager.ACTION.ITEM_LEFT_CLICK,
[inventory_item_global_id, event]
)
if escoria.action_manager.current_action == VERB_USE:
var item = escoria.object_manager.get_object(
inventory_item_global_id