mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: When run count reached task is still enable if task switched (#925)
This commit is contained in:
@@ -71,6 +71,9 @@ class RaidRun(Raid):
|
||||
self.run_count += 1
|
||||
if self.config.StopCondition_RunCount:
|
||||
self.config.StopCondition_RunCount -= 1
|
||||
# End
|
||||
if self.triggered_stop_condition():
|
||||
break
|
||||
# Scheduler
|
||||
if self.config.task_switched():
|
||||
self.config.task_stop()
|
||||
|
||||
Reference in New Issue
Block a user