Removed accidentally added Timer call inside a ZTele_TeleportClient function.

This commit is contained in:
Oleg Tsvetkov 2016-06-12 02:06:24 +03:00
parent 678ad2ef0c
commit efeec511c4
1 changed files with 0 additions and 11 deletions

View File

@ -250,17 +250,6 @@ bool ZTeleClient(int client, bool force = false)
void ZTele_TeleportClient(int client)
{
// Teleport client.
CreateTimer(0.0, Timer_PerformZtele, client);
}
public Action Timer_PerformZtele(Handle timer, any data)
{
int client = view_as<int>(data);
if (!IsClientInGame(client))
{
return;
}
if (ZTele_IsRandomPositionEnabled())
{
int select = Math_GetRandomInt(0, g_iZTeleSpawnPointsCount - 1);