1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-28 06:39:43 +08:00

Fix: ScriptEnd(emotion control) is delayed to next server update

This commit is contained in:
LmeSzinc
2025-03-28 03:50:46 +08:00
parent f27a9994f3
commit 7a0f4d029e

View File

@@ -250,6 +250,8 @@ class Hospital(HospitalClue, HospitalCombat):
self.clue_enter() self.clue_enter()
try: try:
self.loop_aside() self.loop_aside()
# Scheduler
self.config.task_delay(server_update=True)
except OilExhausted: except OilExhausted:
self.clue_exit() self.clue_exit()
logger.hr('Triggered stop condition: Oil limit') logger.hr('Triggered stop condition: Oil limit')
@@ -262,9 +264,6 @@ class Hospital(HospitalClue, HospitalCombat):
self.clue_exit() self.clue_exit()
raise raise
# Scheduler
self.config.task_delay(server_update=True)
if __name__ == '__main__': if __name__ == '__main__':
self = Hospital('alas') self = Hospital('alas')