Register the ranking cvar in CSQC so it has a default value on older clients 487/head
authorMario <mario@smbclan.net>
Thu, 29 Aug 2019 05:02:25 +0000 (15:02 +1000)
committerMario <mario@smbclan.net>
Thu, 29 Aug 2019 05:02:25 +0000 (15:02 +1000)
qcsrc/client/main.qc

index c8274fe..b61f425 100644 (file)
@@ -143,6 +143,8 @@ void CSQC_Init()
        registercvar("cl_weapon_switch_reload", "1");
        registercvar("cl_weapon_switch_fallback_to_impulse", "1");
 
        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");
 
        if(autocvar_cl_lockview)
                cvar_set("cl_lockview", "0");