Fix: click_last.reset()

This commit is contained in:
LmeSzinc 2023-03-24 23:31:11 +08:00
parent 8c4526b0c0
commit e7b937f97b

View File

@ -39,7 +39,7 @@ class CoalitionCombat(CoalitionUI, CampaignBase):
continue
if self.handle_battle_status():
status_clicked = True
click_last.start()
click_last.reset()
continue
# Keep clicking BATTLE_STATUS to skip animations
if status_clicked:
@ -60,7 +60,7 @@ class CoalitionCombat(CoalitionUI, CampaignBase):
while 1:
logger.hr(f'{self.FUNCTION_NAME_BASE}{self.battle_count}', level=2)
self.auto_search_combat_execute(
emotion_reduce=self.battle_count==0 or self.config.Coalition_Fleet=='single',
emotion_reduce=self.battle_count == 0 or self.config.Coalition_Fleet == 'single',
fleet_index=1
)
self.coalition_combat_re_enter()