mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Opt: Re-organise CalculateEmotion and IgnoreLowEmotionWarn
This commit is contained in:
@@ -108,7 +108,7 @@ class CampaignRun(CampaignEvent):
|
||||
Returns:
|
||||
bool: If triggered a restart condition.
|
||||
"""
|
||||
if not self.campaign.config.Emotion_IgnoreLowEmotionWarn:
|
||||
if not self.campaign.emotion.is_ignore:
|
||||
if self.campaign.emotion.triggered_bug():
|
||||
logger.info('Triggered restart avoid emotion bug')
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user