mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: precondition for exit room incomplete, ensure not in interact state also to safely assume in dialogue state
This commit is contained in:
parent
8d75bfa848
commit
ed1a430869
@ -215,8 +215,9 @@ 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)):
|
||||
self._pq_handle_dialogue()
|
||||
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)
|
||||
self.ui_click(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user