1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Merge pull request #5291 from LmeSzinc/dev

Fix: PQ stuck in exit room routine
This commit is contained in:
nEEtdo0d 2025-11-04 09:41:59 -05:00 committed by GitHub
commit cfe9ec5618
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,8 @@ class PQInteract(UI):
"""
# Rare case in the middle of dialogue, so address
# before initiating room exit
if not self.appear(PRIVATE_QUARTERS_ROOM_CHECK, offset=(20, 20)):
if (not self.appear(PRIVATE_QUARTERS_ROOM_CHECK, offset=(20, 20)) and
not self.appear(PRIVATE_QUARTERS_INTERACT, offset=(0, 60))):
self._pq_handle_dialogue()
self.interval_clear(PRIVATE_QUARTERS_ROOM_BACK)