Skip to content

Commit

Permalink
display_server: had typo in non legacy layout
Browse files Browse the repository at this point in the history
  • Loading branch information
flightlessmango committed Feb 6, 2025
1 parent 68fd1b0 commit 4d03635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hud_elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ void HudElements::sort_elements(const std::pair<std::string, std::string>& optio
{"winesync", {winesync}},
{"present_mode", {present_mode}},
{"network", {network}},
{"display_session", {_display_session}}
{"display_server", {_display_session}}

};

Expand Down Expand Up @@ -1617,7 +1617,7 @@ void HudElements::legacy_elements(){
ordered_functions.push_back({time, "time", value});
if (params->enabled[OVERLAY_PARAM_ENABLED_version])
ordered_functions.push_back({version, "version", value});
if (params->enabled[OVERLAY_PARAM_ENABLED_gpu_stats])
if (params->enabled[OVERLAY_PARAM_ENABLED_gpu_stats]
ordered_functions.push_back({gpu_stats, "gpu_stats", value});
if (params->enabled[OVERLAY_PARAM_ENABLED_cpu_stats])
ordered_functions.push_back({cpu_stats, "cpu_stats", value});
Expand Down

0 comments on commit 4d03635

Please sign in to comment.