diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-01-06 17:55:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 16:55:46 +0000 |
commit | 2f4a12aee9cf39de7e0211538f480438497cca8a (patch) | |
tree | 7e119c7bdf0adebf1c0a3fd14aa3b6568053cb82 | |
parent | 33eb3254ba1f020f58d80ca91f557515f56ac628 (diff) | |
download | NorthstarLauncher-2f4a12aee9cf39de7e0211538f480438497cca8a.tar.gz NorthstarLauncher-2f4a12aee9cf39de7e0211538f480438497cca8a.zip |
Revert "add FCVAR_REPLICATED to ns_server_name" (#390)
Revert "add FCVAR_REPLICATED to ns_server_name (#386)"
This reverts commit ca2530b82578ca4bd782dbedaced5f02b3141d69.
-rw-r--r-- | NorthstarDLL/server/serverpresence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/server/serverpresence.cpp b/NorthstarDLL/server/serverpresence.cpp index b664f83c..bda5e7fe 100644 --- a/NorthstarDLL/server/serverpresence.cpp +++ b/NorthstarDLL/server/serverpresence.cpp @@ -79,14 +79,14 @@ ServerPresenceManager::ServerPresenceManager() Cvar_ns_server_presence_update_rate = new ConVar( "ns_server_presence_update_rate", "5000", FCVAR_GAMEDLL, "How often we update our server's presence on server lists in ms"); - Cvar_ns_server_name = new ConVar("ns_server_name", "Unnamed Northstar Server", FCVAR_GAMEDLL | FCVAR_REPLICATED, "This server's description", false, 0, false, 0, [](ConVar* cvar, const char* pOldValue, float flOldValue) { + Cvar_ns_server_name = new ConVar("ns_server_name", "Unnamed Northstar Server", FCVAR_GAMEDLL, "This server's description", false, 0, false, 0, [](ConVar* cvar, const char* pOldValue, float flOldValue) { g_pServerPresence->SetName(UnescapeUnicode(g_pServerPresence->Cvar_ns_server_name->GetString())); // update engine hostname cvar Cvar_hostname->SetValue(g_pServerPresence->Cvar_ns_server_name->GetString()); }); - Cvar_ns_server_desc = new ConVar("ns_server_desc", "Default server description", FCVAR_GAMEDLL | FCVAR_REPLICATED, "This server's name", false, 0, false, 0, [](ConVar* cvar, const char* pOldValue, float flOldValue) { + Cvar_ns_server_desc = new ConVar("ns_server_desc", "Default server description", FCVAR_GAMEDLL, "This server's name", false, 0, false, 0, [](ConVar* cvar, const char* pOldValue, float flOldValue) { g_pServerPresence->SetDescription(UnescapeUnicode(g_pServerPresence->Cvar_ns_server_desc->GetString())); }); |