mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Fix: Exercise record saving when EXERCISE_PRESERVE enabled
This commit is contained in:
@@ -132,7 +132,7 @@ class Exercise(ExerciseCombat):
|
|||||||
|
|
||||||
def record_save(self):
|
def record_save(self):
|
||||||
self.config.config.set(*RECORD_COUNT, str(self.opponent_change_count))
|
self.config.config.set(*RECORD_COUNT, str(self.opponent_change_count))
|
||||||
if not self.remain:
|
if self.remain <= self.config.EXERCISE_PRESERVE:
|
||||||
return self.config.record_save(option=RECORD_OPTION)
|
return self.config.record_save(option=RECORD_OPTION)
|
||||||
else:
|
else:
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user