mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
Fix: Remove duplicate calls
This commit is contained in:
parent
68969c6be5
commit
6dcebcb1f2
@ -64,11 +64,6 @@ class Assignment(AssignmentClaim, SynthesizeUI):
|
|||||||
logger.attr('has_new_dispatch', self.has_new_dispatch)
|
logger.attr('has_new_dispatch', self.has_new_dispatch)
|
||||||
with self.config.multi_set():
|
with self.config.multi_set():
|
||||||
# Check daily
|
# Check daily
|
||||||
quests = self.config.stored.DailyQuest.load_quests()
|
|
||||||
if KEYWORDS_DAILY_QUEST.Dispatch_1_assignments in quests:
|
|
||||||
logger.info('Achieved daily quest Dispatch_1_assignments')
|
|
||||||
self.config.task_call('DailyQuest')
|
|
||||||
if self.has_new_dispatch:
|
|
||||||
if KEYWORDS_DAILY_QUEST.Dispatch_1_assignments in quests:
|
if KEYWORDS_DAILY_QUEST.Dispatch_1_assignments in quests:
|
||||||
logger.info('Achieved daily quest Dispatch_1_assignments')
|
logger.info('Achieved daily quest Dispatch_1_assignments')
|
||||||
self.config.task_call('DailyQuest')
|
self.config.task_call('DailyQuest')
|
||||||
|
Loading…
Reference in New Issue
Block a user