mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: 修复长时间运行时, 游戏内心情值计算bug导致的出错
- 未开启红脸出击时, 会每隔2小时重启游戏
This commit is contained in:
@@ -67,7 +67,7 @@ class LoginHandler(Combat):
|
||||
if not self.config.IGNORE_LOW_EMOTION_WARN:
|
||||
# The game does not calculate emotion correctly, which is a bug in AzurLane.
|
||||
# After a long run, we have to restart the game to update it.
|
||||
if now - self.start_time > timedelta(hours=2, minutes=30):
|
||||
if now - self.start_time > timedelta(hours=2):
|
||||
logger.hr('Triggered restart avoid emotion bug')
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user