Skip to content

Commit

Permalink
Add stop;bxt_timer_stop to bxt_tas_new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Jan 10, 2021
1 parent 8e8c75d commit c43feb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BunnymodXT/modules/HwDLL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion BunnymodXT/triangle_drawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c43feb6

Please sign in to comment.