File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -430,9 +430,9 @@ def os_hazard1_leveling(self):
430430 if not self .is_in_opsi_explore ():
431431 cd = self .nearest_task_cooling_down
432432 if cd is None :
433- self . config . task_call ( 'OpsiAbyssal' )
434- self .config .task_call ( 'OpsiStronghold' )
435- self .config .task_call ('OpsiObscure' )
433+ for task in [ 'OpsiAbyssal' , 'OpsiStronghold' , 'OpsiObscure' ]:
434+ if self .config .is_task_enabled ( task ):
435+ self .config .task_call (task )
436436 self .config .task_call ('OpsiMeowfficerFarming' )
437437 self .config .task_stop ()
438438
@@ -450,9 +450,9 @@ def os_hazard1_leveling(self):
450450 if not self .is_in_opsi_explore ():
451451 cd = self .nearest_task_cooling_down
452452 if cd is None :
453- self . config . task_call ( 'OpsiAbyssal' )
454- self .config .task_call ( 'OpsiStronghold' )
455- self .config .task_call ('OpsiObscure' )
453+ for task in [ 'OpsiAbyssal' , 'OpsiStronghold' , 'OpsiObscure' ]:
454+ if self .config .is_task_enabled ( task ):
455+ self .config .task_call (task )
456456 self .config .task_call ('OpsiMeowfficerFarming' )
457457 self .config .task_stop ()
458458
You can’t perform that action at this time.
0 commit comments