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

This commit is contained in:
Duncan Brown authored and Julian Murgia committed 2022-04-08 21:18:57 +02:00
1 parent 85b86f38be
commit 6d98e7bdce
12 files changed
+67 -44

No files matched your search

+1 -1
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