From: Mario Date: Thu, 29 Aug 2019 05:02:25 +0000 (+1000) Subject: Register the ranking cvar in CSQC so it has a default value on older clients X-Git-Tag: xonotic-v0.8.5~1355^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e5803a328e96476307242097efe040f48ff9ce52;p=xonotic%2Fxonotic-data.pk3dir.git Register the ranking cvar in CSQC so it has a default value on older clients --- diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index c8274fe62..b61f425aa 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -143,6 +143,8 @@ void CSQC_Init() registercvar("cl_weapon_switch_reload", "1"); registercvar("cl_weapon_switch_fallback_to_impulse", "1"); + registercvar("cl_allow_uidranking", "1"); + if(autocvar_cl_lockview) cvar_set("cl_lockview", "0");