From c24c43d62e6799d6f4c1bd6c0d83b8ad87540ce2 Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Wed, 31 Jul 2024 09:31:17 -0400 Subject: [PATCH] Add option check for collect and remove --- worlds/tunic/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/tunic/__init__.py b/worlds/tunic/__init__.py index fcc84666d4..98a41a6b65 100644 --- a/worlds/tunic/__init__.py +++ b/worlds/tunic/__init__.py @@ -351,14 +351,14 @@ class TunicWorld(World): # cache whether you can get through combat logic areas def collect(self, state: CollectionState, item: Item) -> bool: change = super().collect(state, item) - if change: + if change and self.options.combat_logic: if item.name in combat_items: state.prog_items[self.player]["need_to_reset_combat_state_from_collect"] = 1 return change def remove(self, state: CollectionState, item: Item) -> bool: change = super().remove(state, item) - if change: + if change and self.options.combat_logic: if item.name in combat_items: state.prog_items[self.player]["need_to_reset_combat_state_from_remove"] = 1 return change