From c43feb6a678b3d4cf7dd1e38150777d07c9e3605 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 10 Jan 2021 18:56:08 +0300 Subject: [PATCH] Add stop;bxt_timer_stop to bxt_tas_new commands --- BunnymodXT/modules/HwDLL.cpp | 2 +- BunnymodXT/triangle_drawing.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BunnymodXT/modules/HwDLL.cpp b/BunnymodXT/modules/HwDLL.cpp index e6b3ad52..3104339d 100644 --- a/BunnymodXT/modules/HwDLL.cpp +++ b/BunnymodXT/modules/HwDLL.cpp @@ -1661,7 +1661,7 @@ struct HwDLL::Cmd_BXT_TAS_New } frame.Dbc = true; frame.Comments += " - automatic duck before collision."; - frame.Commands = "pause;bxt_tas_editor 1"; + frame.Commands = "stop;bxt_timer_stop;pause;bxt_tas_editor 1"; hw.newTASResult.PushFrame(frame); // A blank frame bulk in the end since currently it's dropped in the TAS editor. diff --git a/BunnymodXT/triangle_drawing.cpp b/BunnymodXT/triangle_drawing.cpp index 6f110611..d6dd8a0a 100644 --- a/BunnymodXT/triangle_drawing.cpp +++ b/BunnymodXT/triangle_drawing.cpp @@ -932,7 +932,7 @@ namespace TriangleDrawing && hw.tas_editor_set_run_point_and_save) { auto commands = input.frame_bulks[0].Commands; if (commands.empty()) - commands = "pause;bxt_tas_editor 1"; + commands = "stop;bxt_timer_stop;pause;bxt_tas_editor 1"; input.frame_bulks[closest_edge_prev_frame_bulk_index + 1].Commands = commands; input.frame_bulks[0].Commands.clear(); hw.SaveEditedInput();