Fix: handle info bar which obstructs DORM_RED_DOT (#3528)

* Upd: [CN, EN, JP] dorm asset DORM_RED_DOT

* Fix: handle info bar which obstructs DORM_RED_DOT
This commit is contained in:
guoh064 2024-03-07 17:06:05 +08:00 committed by GitHub
parent 0a59b8efb5
commit 888d72b682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -408,6 +408,7 @@ class RewardDorm(UI):
return
self.ui_ensure(page_dormmenu)
self.handle_info_bar()
if not self.appear(DORM_RED_DOT, offset=(30, 30)):
logger.info('Nothing to collect. Dorm collecting skipped.')
collect = False