Fix: Unable to release the hoarded task after waiting a task at start (#764)

This commit is contained in:
LmeSzinc 2021-12-01 23:42:45 +08:00
parent 4ab00fc226
commit 90f756fb18

View File

@ -303,6 +303,7 @@ class AzurLaneAutoScript:
logger.warning(f'Invalid Optimization_WhenTaskQueueEmpty: {method}, fallback to stay_there')
self.wait_until(task.next_run)
AzurLaneConfig.is_hoarding_task = False
return task.command
def loop(self):