]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Play beep sound when a team mate was healed to the maximum amount, to both the prey...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index d838c0d7791c8e949cf428d3197901d54d68ea9e..2c83a711ef7ef71df258eb91646832cde296d55d 100644 (file)
@@ -376,6 +376,13 @@ void Vore_Teamheal()
        {\r
                self.health += cvar("g_balance_vore_teamheal");\r
                self.teamheal_step = time + steptime;\r
        {\r
                self.health += cvar("g_balance_vore_teamheal");\r
                self.teamheal_step = time + steptime;\r
+\r
+               // play beep sound when a team mate was healed to the maximum amount, to both the prey and the predator\r
+               if(self.health >= cvar("g_balance_vore_teamheal_stable"))\r
+               {\r
+                       play2(self, "misc/beep.ogg");\r
+                       play2(self.predator, "misc/beep.ogg");\r
+               }\r
        }\r
 }\r
 \r
        }\r
 }\r
 \r