fix: replace const auto with auto
This commit is contained in:
parent
17eca76f0a
commit
2b26b507aa
@ -16,8 +16,8 @@ namespace dedicated_info
|
|||||||
void set_server_info_in_console_title()
|
void set_server_info_in_console_title()
|
||||||
{
|
{
|
||||||
const auto sv_running = game::Dvar_FindVar("sv_running");
|
const auto sv_running = game::Dvar_FindVar("sv_running");
|
||||||
const auto server_name = game::get_dvar_string("live_steam_server_name");
|
auto server_name = game::get_dvar_string("live_steam_server_name");
|
||||||
const auto clean_server_name = game::I_CleanStr(server_name.data());
|
auto clean_server_name = game::I_CleanStr(server_name.data());
|
||||||
|
|
||||||
if (!sv_running || !sv_running->current.enabled)
|
if (!sv_running || !sv_running->current.enabled)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user