]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Fix the timer
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index 0300168c69f6a7d32bc2e9d0d9791b79e748bc82..c806b2fd85dff9e726f5f249ebd35a7559d6d394 100644 (file)
@@ -422,7 +422,7 @@ void Vore_AutoTaunt()
                if(!self.taunt_soundtime)\r
                {\r
                        taunt_time = random() * (cvar("sv_vore_autotaunt_repeat_max") - cvar("sv_vore_autotaunt_repeat_min")) + cvar("sv_vore_autotaunt_repeat_min");\r
-                       SetAutoTaunt(self, taunt_time, TAUNTTYPE_VOREPRED);\r
+                       SetAutoTaunt(self, time + taunt_time, TAUNTTYPE_VOREPRED);\r
                }\r
        }\r
        else if(self.taunt_soundtype == TAUNTTYPE_VOREPRED)\r
@@ -437,7 +437,7 @@ void Vore_AutoTaunt()
                if(!self.taunt_soundtime)\r
                {\r
                        taunt_time = random() * (cvar("sv_vore_autotaunt_repeat_max") - cvar("sv_vore_autotaunt_repeat_min")) + cvar("sv_vore_autotaunt_repeat_min");\r
-                       SetAutoTaunt(self, taunt_time, TAUNTTYPE_VOREPREY);\r
+                       SetAutoTaunt(self, time + taunt_time, TAUNTTYPE_VOREPREY);\r
                }\r
        }\r
        else if(self.taunt_soundtype == TAUNTTYPE_VOREPREY)\r