Fixed the display bug in ZTele showing 0/X uses instead of 1/X.

This commit is contained in:
Greyscale 2009-12-31 00:33:50 -08:00
parent 114552f451
commit d88b824bfd
1 changed files with 3 additions and 3 deletions

View File

@ -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;