]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Register the ranking cvar in CSQC so it has a default value on older clients
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 c8274fe62641070f01f4448acce41d07080b0e9a..b61f425aa6da44b8d9d4f073a7929275f54a5685 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_allow_uidranking", "1");
+
        if(autocvar_cl_lockview)
                cvar_set("cl_lockview", "0");