mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: ScriptEnd(emotion control) is delayed to next server update
This commit is contained in:
parent
f27a9994f3
commit
7a0f4d029e
@ -250,6 +250,8 @@ class Hospital(HospitalClue, HospitalCombat):
|
||||
self.clue_enter()
|
||||
try:
|
||||
self.loop_aside()
|
||||
# Scheduler
|
||||
self.config.task_delay(server_update=True)
|
||||
except OilExhausted:
|
||||
self.clue_exit()
|
||||
logger.hr('Triggered stop condition: Oil limit')
|
||||
@ -262,9 +264,6 @@ class Hospital(HospitalClue, HospitalCombat):
|
||||
self.clue_exit()
|
||||
raise
|
||||
|
||||
# Scheduler
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
self = Hospital('alas')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user