]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/gamemode_race.qc
Move all gamemode cvars into their files, also renamed a couple of freezetag frozen...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_race.qc
index 34196b38e336f23809aae036d2d28655912afdd8..d5e85c06940335867b345a5ee5f25627981ef379 100644 (file)
@@ -4,6 +4,11 @@
 
 #include "../race.qh"
 
+#define autocvar_g_race_laps_limit cvar("g_race_laps_limit")
+float autocvar_g_race_qualifying_timelimit;
+float autocvar_g_race_qualifying_timelimit_override;
+int autocvar_g_race_teams;
+
 // legacy bot roles
 .float race_checkpoint;
 void havocbot_role_race()
@@ -300,6 +305,12 @@ MUTATOR_HOOKFUNCTION(rc, GetRecords)
        return false;
 }
 
+MUTATOR_HOOKFUNCTION(rc, FixClientCvars)
+{
+       stuffcmd(fix_client, "cl_cmd settemp cl_movecliptokeyboard 2\n");
+       return false;
+}
+
 void race_Initialize()
 {
        race_ScoreRules();