Skip to content

Commit 5770f91

Browse files
authored
Refactor script_task.py by cleaning up comments
Removed commented code and added a reference link.
1 parent 985ac26 commit 5770f91

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎tasks/Duel/script_task.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ def wait_battle(self) -> bool:
191191
self.duel_exit_battle()
192192
continue
193193
if ret is None and not battle_operated: # 进行战斗前的操作
194-
# 等「自动」出现并点「手动」:
195-
# 带超时,战斗提前结束时不会卡死在这里空转
194+
# https://github.com/runhey/OnmyojiAutoScript/pull/1934
196195
self.ui_click(self.O_D_HAND, self.O_D_AUTO, interval=6, timeout=45)
197196
self.green_mark(self.conf.duel_config.green_enable, self.conf.duel_config.green_mark)
198197
battle_operated = True

0 commit comments

Comments
 (0)