diff --git a/tasks/combat/support.py b/tasks/combat/support.py index 867f353c4..fe86baa69 100644 --- a/tasks/combat/support.py +++ b/tasks/combat/support.py @@ -203,6 +203,7 @@ class CombatSupport(UI): scroll.set_bottom(main=self) scroll.drag_threshold = backup scroll.set_top(main=self) + self.device.click_record_clear() logger.info("Searching support") skip_first_screenshot = True @@ -216,9 +217,11 @@ class CombatSupport(UI): if character: logger.info("Support found") if self._select_support(character): + self.device.click_record_clear() return True else: logger.warning("Support not selected") + self.device.click_record_clear() return False if not scroll.at_bottom(main=self): @@ -226,6 +229,7 @@ class CombatSupport(UI): continue else: logger.info("Support not found") + self.device.click_record_clear() return False def _select_support(self, character: SupportCharacter): diff --git a/tasks/dungeon/ui.py b/tasks/dungeon/ui.py index 45e09b102..e558d038d 100644 --- a/tasks/dungeon/ui.py +++ b/tasks/dungeon/ui.py @@ -578,6 +578,7 @@ class DungeonUI(DungeonState): DUNGEON_LIST.use_plane = bool(dungeon.is_Calyx_Crimson) # Insight dungeon DUNGEON_LIST.insight_row(dungeon, main=self) + self.device.click_record_clear() # Check if dungeon unlocked for entrance in DUNGEON_LIST.navigates: entrance: OcrResultButton = entrance @@ -596,6 +597,7 @@ class DungeonUI(DungeonState): DUNGEON_LIST.drag_vector = (0.2, 0.4) DUNGEON_LIST.limit_entrance = True DUNGEON_LIST.insight_row(dungeon, main=self) + self.device.click_record_clear() DUNGEON_LIST.drag_vector = DraggableList.drag_vector DUNGEON_LIST.limit_entrance = False DUNGEON_LIST.load_rows(main=self)