mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Reset research project list after quiting queue
Avoid selecting incorrect project at receive_6th_research()
This commit is contained in:
parent
90b2f8167c
commit
2e9ff21b21
@ -359,6 +359,10 @@ class RewardResearch(ResearchSelector, ResearchQueue):
|
||||
logger.info(f'Received rewards from {total} projects')
|
||||
return total
|
||||
|
||||
def queue_quit(self, *args, **kwargs):
|
||||
super().queue_quit(*args, **kwargs)
|
||||
self._research_project_offset = 0
|
||||
|
||||
def research_queue_append(self, drop=None, add_queue=True):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user