From 1e382af801175b7bf4b5bdbb015b8ca845085328 Mon Sep 17 00:00:00 2001 From: RektInator Date: Wed, 31 May 2017 16:17:34 +0200 Subject: [PATCH] [Clantags] iw4x_clantag -> clantag --- src/Components/Modules/Clantags.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/Clantags.cpp b/src/Components/Modules/Clantags.cpp index 84c009bb..86dfa310 100644 --- a/src/Components/Modules/Clantags.cpp +++ b/src/Components/Modules/Clantags.cpp @@ -25,7 +25,7 @@ namespace Components if (Game::svs_clients[i].state >= 3) { - strncpy_s(clantag, Game::Info_ValueForKey(Game::svs_clients[i].connectInfoString, "iw4x_clantag"), 4); + strncpy_s(clantag, Game::Info_ValueForKey(Game::svs_clients[i].connectInfoString, "clantag"), 4); } list.append(Utils::String::VA("\\%s\\%s", std::to_string(i).data(), clantag)); @@ -70,7 +70,7 @@ namespace Components // Create clantag dvar Dvar::OnInit([]() { - Dvar::Register("iw4x_clantag", "", Game::dvar_flag::DVAR_FLAG_USERINFO | Game::dvar_flag::DVAR_FLAG_SAVED, "If set, your clantag will be shown on the scoreboard."); + Dvar::Register("clantag", "", Game::dvar_flag::DVAR_FLAG_USERINFO | Game::dvar_flag::DVAR_FLAG_SAVED, "If set, your clantag will be shown on the scoreboard."); }); // Servercommand hook