mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 11:19:26 +08:00
add: add do not run reward, commission and research actually
This commit is contained in:
@@ -610,3 +610,12 @@ class RewardCommission(UI, InfoHandler):
|
||||
logger.info('Having too many urgent commissions, delay task `GemsFarming`')
|
||||
self.config.task_delay(
|
||||
minute=120, target=future_finish if len(future_finish) else None, task='GemsFarming')
|
||||
|
||||
|
||||
class RewardCommission(RewardCommission):
|
||||
def run(self):
|
||||
if not self.config.full_config.Commission_Commission_DoNotRun:
|
||||
self.config.task_delay(minute=6 * 60)
|
||||
self.config.task_stop()
|
||||
else:
|
||||
super().run()
|
||||
|
||||
Reference in New Issue
Block a user