]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/mutator_multijump.qc
Fix client side multijump not turning off when server side multijump is
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_multijump.qc
index 0d9c53c6d8c7a2bd693862d4faf2d10b1e086507..57014f1816c171b776a232af9a233e8f8dfb7d6b 100644 (file)
@@ -45,10 +45,6 @@ void PM_multijump()
                else
                        self.multijump_count = -2; // the cvar value for infinite jumps is -1, so this needs to be smaller
        }
-
-#ifdef SVQC
-       multijump_UpdateStats();
-#endif
 }
 
 float PM_multijump_checkjump()
@@ -103,6 +99,7 @@ float PM_multijump_checkjump()
 #ifdef SVQC
 MUTATOR_HOOKFUNCTION(multijump_PlayerPhysics)
 {
+       multijump_UpdateStats();
        PM_multijump();
 
        return FALSE;