mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 06:45:34 +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
|
self.run_count += 1
|
||||||
if self.config.StopCondition_RunCount:
|
if self.config.StopCondition_RunCount:
|
||||||
self.config.StopCondition_RunCount -= 1
|
self.config.StopCondition_RunCount -= 1
|
||||||
|
# End
|
||||||
|
if self.triggered_stop_condition():
|
||||||
|
break
|
||||||
# Scheduler
|
# Scheduler
|
||||||
if self.config.task_switched():
|
if self.config.task_switched():
|
||||||
self.config.task_stop()
|
self.config.task_stop()
|
||||||
|
|||||||
Reference in New Issue
Block a user