Skip to content

Commit f4b14b0

Browse files
committed
fix: rename cvar
group with other loading screen-related cvars
1 parent 8f236b4 commit f4b14b0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/cvars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@
321321
|sar_list_ents|cmd|sar_list_ents - lists entities|
322322
|sar_list_server_classes|cmd|sar_list_server_classes - lists all server classes|
323323
|sar_load_delay|0|Delay for this number of milliseconds at the end of a load.|
324+
|sar_loads_coop_dots|0|Toggles the loading screen dots during map transitions in coop.|
324325
|sar_loads_norender|0|Temporarily set mat_norendering to 1 during loads|
325326
|sar_loads_uncap|0|Temporarily set fps_max to 0 during loads|
326327
|sar_lphud|0|Enables or disables the portals display on screen.|
@@ -673,7 +674,6 @@
673674
|sar_twitch_chat_channel||The Twitch channel to connect to.|
674675
|sar_twitch_chat_color|255 255 255|The color of the Twitch chat messages.|
675676
|sar_twitch_chat_enabled|0|Enables Twitch chat integration.|
676-
|sar_ui_coop_dots|0|Toggles the loading screen dots during map transitions in coop.|
677677
|sar_unlocked_chapters|-1|Max unlocked chapter.|
678678
|sar_update|cmd|sar_update [release\|pre\|canary] [exit\|restart] [force] - update SAR to the latest version. If exit is given, exit the game upon successful update; if force is given, always re-install, even if it may be a downgrade|
679679
|sar_velocitygraph|0|Shows velocity graph.|

src/Cheats.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Variable sar_prevent_ehm("sar_prevent_ehm", "0", 0, 1, "Prevents Entity Handle M
5151
Variable sar_disable_weapon_sway("sar_disable_weapon_sway", "0", 0, 1, "Disables the viewmodel lagging behind.\n");
5252
Variable sar_disable_viewmodel_shadows("sar_disable_viewmodel_shadows", "0", 0, 1, "Disables the shadows on the viewmodel.\n");
5353
Variable sar_floor_reportals("sar_floor_reportals", "0", "Toggles floor reportals. Requires cheats.\n", FCVAR_CHEAT);
54-
Variable sar_ui_coop_dots("sar_ui_coop_dots", "0", "Toggles the loading screen dots during map transitions in coop.\n");
54+
Variable sar_loads_coop_dots("sar_loads_coop_dots", "0", "Toggles the loading screen dots during map transitions in coop.\n");
5555

5656
Variable sv_laser_cube_autoaim;
5757
Variable ui_loadingscreen_transition_time;
@@ -516,10 +516,10 @@ void Cheats::CheckFloorReportals() {
516516
}
517517

518518
void Cheats::CheckUICoopDots() {
519-
bool enabled = sar_ui_coop_dots.GetBool();
519+
bool enabled = sar_loads_coop_dots.GetBool();
520520
if (enabled && (!g_coopLoadingDotsPatch || !g_coopLoadingDotsPatch->IsInit())) {
521-
console->Print("sar_ui_coop_dots is not available.\n");
522-
sar_ui_coop_dots.SetValue(0);
521+
console->Print("sar_loads_coop_dots is not available.\n");
522+
sar_loads_coop_dots.SetValue(0);
523523
return;
524524
}
525525
if (enabled == g_coopLoadingDotsPatch->IsPatched()) {

src/Cheats.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern Variable sar_prevent_ehm;
3434
extern Variable sar_disable_weapon_sway;
3535
extern Variable sar_disable_viewmodel_shadows;
3636
extern Variable sar_floor_reportals;
37-
extern Variable sar_ui_coop_dots;
37+
extern Variable sar_loads_coop_dots;
3838

3939
extern Variable sv_laser_cube_autoaim;
4040
extern Variable ui_loadingscreen_transition_time;

0 commit comments

Comments
 (0)