Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from typing import TYPE_CHECKING, ClassVar

from one_dragon.base.controller.pc_button import pc_button_utils
from one_dragon.base.operation.operation_base import OperationResult
from one_dragon.base.operation.operation_edge import node_from
from one_dragon.base.operation.operation_node import operation_node
from one_dragon.base.operation.operation_round_result import OperationRoundResult
Expand Down Expand Up @@ -102,3 +103,7 @@ def handle_pause(self, e=None):
def handle_resume(self, e=None):
if self.current_node.node is not None and self.current_node.node.cn == '画面识别':
self.ctx.auto_battle_context.resume_auto_battle()

def after_operation_done(self, result: OperationResult) -> None:
self.ctx.auto_battle_context.stop_auto_battle()
ZApplication.after_operation_done(self, result)
Comment thread
DoctorReid marked this conversation as resolved.
Loading