From: Freddy Date: Sat, 4 Jan 2020 15:04:36 +0000 (+0100) Subject: Rename sv_ToSUrl to sv_termsofservice_url X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea501511c60a84e114b4e485e58a8193ddec0b1a;p=xonotic%2Fxonotic-data.pk3dir.git Rename sv_ToSUrl to sv_termsofservice_url --- diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index 9297859e6..9c62f725c 100644 --- a/qcsrc/server/autocvars.qh +++ b/qcsrc/server/autocvars.qh @@ -273,7 +273,7 @@ int autocvar_spawn_debug; bool autocvar_speedmeter; float autocvar_sv_accuracy_data_share = 1; string autocvar_sv_adminnick; -string autocvar_sv_ToSurl; +string autocvar_sv_termsofservice_url; bool autocvar_sv_autoscreenshot; int autocvar_sv_cheats; float autocvar_sv_clientcommand_antispam_time; diff --git a/qcsrc/server/scores.qc b/qcsrc/server/scores.qc index a55568cc3..ca6dfc3e2 100644 --- a/qcsrc/server/scores.qc +++ b/qcsrc/server/scores.qc @@ -429,7 +429,7 @@ void WinningConditionHelper(entity this) s = strcat(s, ":P", ftos(cvar_purechanges_count)); s = strcat(s, ":S", ftos(nJoinAllowed(this, NULL))); s = strcat(s, ":F", ftos(serverflags)); - string downloadurl = autocvar_sv_ToSurl ? autocvar_sv_ToSurl : "INVALID"; + string downloadurl = autocvar_sv_termsofservice_url ? autocvar_sv_termsofservice_url : "INVALID"; // replace : by | in downloadurl since : is the separator int i = strstrofs(downloadurl, ":", 0); while (i != -1)