You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only useful for rejecting fast drop triggers. e.g.
```
30
148
```
blue drop doesn't matter, so the minimum is 30. orange drop before 2.467 (148 ticks) is rejected
Copy file name to clipboardExpand all lines: docs/cvars.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -493,6 +493,7 @@
493
493
|sar_show_entinp|0|Print all entity inputs to console.|
494
494
|sar_skiptodemo|cmd|sar_skiptodemo \<demoname> - skip demos in demo queue to this demo|
495
495
|sar_speedrun_autoreset_clear|cmd|sar_speedrun_autoreset_clear - stop using the autoreset file|
496
+
|sar_speedrun_autoreset_invert|0|Invert the autoreset behavior. If set to 1, automatically reset if the last split was *faster* than the defined time.|
496
497
|sar_speedrun_autoreset_load|cmd|sar_speedrun_autoreset_load \<file> - load the given file of autoreset timestamps and use it while the speedrun timer is active|
497
498
|sar_speedrun_autostop|0|Automatically stop recording demos when a speedrun finishes. If 2, automatically append the run time to the demo name.|
498
499
|sar_speedrun_category|cmd|sar_speedrun_category [category] - get or set the speedrun category|
Variable sar_speedrun_start_on_load("sar_speedrun_start_on_load", "0", 0, 2, "Automatically start the speedrun timer when a map is loaded. 2 = restart if active.\n");
873
873
Variable sar_speedrun_offset("sar_speedrun_offset", "0", 0, "Start speedruns with this time on the timer.\n", 0);
874
874
Variable sar_speedrun_autostop("sar_speedrun_autostop", "0", 0, 2, "Automatically stop recording demos when a speedrun finishes. If 2, automatically append the run time to the demo name.\n");
875
+
Variable sar_speedrun_autoreset_invert("sar_speedrun_autoreset_invert", "0", 0, 1, "Invert the autoreset behavior. If set to 1, automatically reset if the last split was *faster* than the defined time.\n");
Variable sar_mtrigger_legacy_format("sar_mtrigger_legacy_format", "!seg -> !tt (!st)", "Formatting of the text that is displayed in the chat (!map - for map name, !seg - for segment name, !tt - for total time, !st - for split time).\n", 0);
@@ -1151,11 +1152,24 @@ ON_EVENT(PRE_TICK) {
1151
1152
}
1152
1153
}
1153
1154
1154
-
size_t next_split_idx = g_speedrun.splits.size();
1155
-
if (next_split_idx >= g_autoreset_ticks.size()) return;
0 commit comments