1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Fix: Check walk result and expected in OS (#363)

This commit is contained in:
LmeSzinc
2021-02-23 21:48:01 +08:00
parent 0a1b3ae1c7
commit 33620462ed
3 changed files with 44 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ class OSMap(OSFleet, Map):
logger.hr('Clear all resource')
logger.info(f'Grids: {grids}')
logger.info(f'Clear object {grids[0]}')
self.goto(grids[0])
self.goto(grids[0], expected=self._get_goto_expected(grids[0]))
self.handle_meowfficer_searching()
logger.warning('Too many objects to clear, stopped')