From 087c0371c80ae6d3316ea76a575ff2ff9c0c03c8 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:29:11 +0800 Subject: [PATCH] Fix: POPUP_CONFIRM was double clicked when leaving fuel popup --- tasks/combat/fuel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/combat/fuel.py b/tasks/combat/fuel.py index 4e86012ba..ce4a287dc 100644 --- a/tasks/combat/fuel.py +++ b/tasks/combat/fuel.py @@ -52,6 +52,7 @@ class Fuel(UI): continue self._fuel_wait_leave() + self.interval_reset([POPUP_CONFIRM, POPUP_CANCEL], interval=2) def _fuel_cancel(self, skip_first_screenshot=True): """ @@ -75,6 +76,7 @@ class Fuel(UI): continue self._fuel_wait_leave() + self.interval_reset([POPUP_CONFIRM, POPUP_CANCEL], interval=2) def _fuel_wait_leave(self): # Blur disappears before popup