From e3ce8ad558cc32b601a21f852e74a0264a8553ce Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Sat, 31 Oct 2015 21:42:27 +0100 Subject: [PATCH] Fix ZTele_GetClientDelay not returning the value. Thanks to BotoX. --- src/zr/ztele/ztele.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/ztele/ztele.inc b/src/zr/ztele/ztele.inc index 14af148..e51e74e 100644 --- a/src/zr/ztele/ztele.inc +++ b/src/zr/ztele/ztele.inc @@ -480,7 +480,7 @@ bool ZTele_HasReachedLimit(int client) int ZTele_GetClientDelay(int client) { - InfectIsClientInfected(client) ? ZTele_GetZombieDelay() : ZTele_GetHumanDelay(); + return InfectIsClientInfected(client) ? ZTele_GetZombieDelay() : ZTele_GetHumanDelay(); } bool ZTele_PlayerWalkedTooFar(int client)