mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-27 16:45:37 +08:00
Fix: Skip reverting config in hard, if drop screenshot disabled
This commit is contained in:
@@ -72,7 +72,7 @@ class CampaignRun(Reward):
|
|||||||
"""
|
"""
|
||||||
if not self.campaign.config.ENABLE_SAVE_GET_ITEMS \
|
if not self.campaign.config.ENABLE_SAVE_GET_ITEMS \
|
||||||
or not len(self.campaign.config.SCREEN_SHOT_SAVE_FOLDER_BASE.strip()):
|
or not len(self.campaign.config.SCREEN_SHOT_SAVE_FOLDER_BASE.strip()):
|
||||||
return False
|
return []
|
||||||
# Create folder to save drop screenshot
|
# Create folder to save drop screenshot
|
||||||
folder = self.campaign.config.SCREEN_SHOT_SAVE_FOLDER_BASE + '/' + name
|
folder = self.campaign.config.SCREEN_SHOT_SAVE_FOLDER_BASE + '/' + name
|
||||||
if not os.path.exists(folder):
|
if not os.path.exists(folder):
|
||||||
|
|||||||
Reference in New Issue
Block a user