mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Fix: Reset research project list after quiting queue
Avoid selecting incorrect project at receive_6th_research()
This commit is contained in:
@@ -359,6 +359,10 @@ class RewardResearch(ResearchSelector, ResearchQueue):
|
|||||||
logger.info(f'Received rewards from {total} projects')
|
logger.info(f'Received rewards from {total} projects')
|
||||||
return total
|
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):
|
def research_queue_append(self, drop=None, add_queue=True):
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user