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

Fix: incorrect fleet died timer reset

This commit is contained in:
sui-feng-cb 2025-08-19 20:37:39 +08:00
parent 9075dcd34d
commit 4b893a0a68

View File

@ -635,11 +635,12 @@ class OSMap(OSFleet, Map, GlobeCamera, StorageHandler, StrategicSearchHandler):
if died_timer.reached():
logger.warning('Fleet died confirm')
break
if not interrupt_confirm and is_interrupt():
interrupt_confirm = True
if interrupt_confirm and not_interrupt():
interrupt_confirm = False
died_timer.reset()
else:
if not interrupt_confirm and is_interrupt():
interrupt_confirm = True
if interrupt_confirm and not_interrupt():
interrupt_confirm = False
died_timer.reset()
else:
died_timer.reset()