]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/sv_main.qc
clean up some cvar uses
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / sv_main.qc
index 8a73e6799afb6436a3fa23ca9b73995908ae8092..e5c4348346d121a0656fcefbfdfe2a1fc5754134 100644 (file)
@@ -34,7 +34,7 @@ void CreatureFrame (void)
                                }
                                if (self.dmgtime < time)
                                {
-                                       self.dmgtime = time + 0.1;
+                                       self.dmgtime = time + 0.2;
                                        if (self.watertype == CONTENT_LAVA)
                                        {
                                                if (self.watersound_finished < time)
@@ -197,11 +197,12 @@ void StartFrame (void)
        sv_warsowbunny_turnaccel = cvar("sv_warsowbunny_turnaccel");
        sv_warsowbunny_backtosideratio = cvar("sv_warsowbunny_backtosideratio");
        sv_airspeedlimit_nonqw = cvar("sv_airspeedlimit_nonqw");
+       sv_doublejump = cvar("sv_doublejump");
        teamplay = cvar ("teamplay");
+
        sys_frametime = cvar("sys_ticrate") * cvar("slowmo");
        if(sys_frametime <= 0)
                sys_frametime = 1.0 / 60.0; // somewhat safe fallback
-       sv_doublejump = cvar("sv_doublejump");
 
        if (timeoutStatus == 1) // just before the timeout (when timeoutStatus will be 2)
                orig_slowmo = cvar("slowmo"); // slowmo will be restored after the timeout