Skip to content

Commit

Permalink
#291 取消任务追踪 完成测试
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorReid committed May 16, 2024
1 parent fa0308c commit d1f75ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/sr/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ def init_after_enter_game(self):
:return:
"""
self.pos_info.large_map_scale = 5
self.pos_info.cancel_mission_trace = False
self.no_technique_recover_consumables = False

def init_before_app_start(self):
Expand Down
2 changes: 1 addition & 1 deletion src/sr/operation/common/cancel_mission_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, ctx: Context):
edges.append(StateOperationEdge(open_mission, cancel_trace, status=CancelMissionTrace.STATUS_TO_CANCEL))

# 点击取消之后 返回大世界
back = StateOperationNode('返回大世界', op=BackToNormalWorldPlus(self.ctx))
back = StateOperationNode('返回大世界', op=BackToNormalWorldPlus(ctx))
edges.append(StateOperationEdge(cancel_trace, back, status=CancelMissionTrace.STATUS_CANCELLED))

# 点击失败的情况 也兜底返回大世界 不卡死后续操作
Expand Down

0 comments on commit d1f75ae

Please sign in to comment.