]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
Merge branch 'master' into TimePath/gamemode_composition
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index 5089b7a12a48d1abd12315f60519d96a7d5b1846..c4b078e14888a82fc1311584f3be5bd064bc7e0f 100644 (file)
@@ -749,6 +749,8 @@ void SetNewParms (void)
 {
        // initialize parms for a new player
        parm1 = -(86400 * 366);
+
+       MUTATOR_CALLHOOK(SetNewParms);
 }
 
 /*
@@ -760,6 +762,8 @@ void SetChangeParms (void)
 {SELFPARAM();
        // save parms for level change
        parm1 = self.parm_idlesince - time;
+
+       MUTATOR_CALLHOOK(SetChangeParms);
 }
 
 /*
@@ -776,6 +780,8 @@ void DecodeLevelParms (void)
 
        // whatever happens, allow 60 seconds of idling directly after connect for map loading
        self.parm_idlesince = max(self.parm_idlesince, time - sv_maxidle + 60);
+
+       MUTATOR_CALLHOOK(DecodeLevelParms);
 }
 
 /*