Fixed infection coundown not stopping on early infection (admin command).

This commit is contained in:
Richard Helgeby 2013-01-11 10:19:31 +01:00
parent 7f6b1fb938
commit 3cdebf55b4

View File

@ -738,6 +738,9 @@ InfectHumanToZombie(client, attacker = -1, bool:motherinfect = false, bool:respa
// Apply effects. // Apply effects.
InfectFireEffects(client); InfectFireEffects(client);
// Stop coundown, if running.
InfectStopCountdown();
// If attacker is valid, then continue. // If attacker is valid, then continue.
if (ZRIsClientValid(attacker)) if (ZRIsClientValid(attacker))
{ {