From d88b824bfd8172bc4dacadb2dfb556c55f61f169 Mon Sep 17 00:00:00 2001 From: Greyscale Date: Thu, 31 Dec 2009 00:33:50 -0800 Subject: [PATCH] Fixed the display bug in ZTele showing 0/X uses instead of 1/X. --- src/zr/ztele.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zr/ztele.inc b/src/zr/ztele.inc index f794201..0cbca67 100644 --- a/src/zr/ztele.inc +++ b/src/zr/ztele.inc @@ -214,12 +214,12 @@ bool:ZTeleClient(client, bool:force = false) // Teleport client to spawn. ZTeleTeleportClient(client); + // Increment teleport count. + g_iZTeleCount[client]++; + // If we're forcing the ZTele, then don't increment the count or print how many teleports they have used. // Tell client they've been teleported. TranslationPrintCenterText(client, "ZTele countdown end", g_iZTeleCount[client], ztelemax); - - // Increment teleport count. - g_iZTeleCount[client]++; } return true;