Fix: swap order precedence; may close unintentionally

This commit is contained in:
nEEtdo0d 2021-12-03 22:52:52 -05:00
parent 052b334b87
commit e26488307f

View File

@ -136,11 +136,11 @@ class RewardMeowfficer(UI):
else:
self.device.screenshot()
if self.appear(MEOWFFICER_STATUS, offset=(40, 40), interval=1):
self.device.multi_click(MEOWFFICER_TRAIN_CLICK_SAFE_AREA, 2)
if self.handle_meow_popup_confirm():
confirm_timer.reset()
continue
if self.handle_meow_popup_confirm():
if self.appear(MEOWFFICER_STATUS, offset=(40, 40), interval=3):
self.device.multi_click(MEOWFFICER_TRAIN_CLICK_SAFE_AREA, 2)
confirm_timer.reset()
continue