1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-19 20:55:05 +08:00

Fix: ensure dock top before finding island character (#5890)

This commit is contained in:
guoh064
2026-08-16 14:19:00 +08:00
parent 16ef6e3dae
commit 1789952e94
3 changed files with 33 additions and 15 deletions

View File

@@ -229,6 +229,8 @@ class IslandProduction(IslandRecipe, IslandDock):
logger.warning(f'Failed to select character {worker} for slot {slot_id}, try to select manjuu instead')
worker = 'manjuu'
self.ensure_dock_page_at_top()
else:
self.island_dock_select_one(character.button)
if worker == 'manjuu':
self.island_dock_select_manjuu()
self.island_dock_select_confirm(self.is_in_recipe_menu)