From efeec511c4838347f5215dada9afbb060b316d62 Mon Sep 17 00:00:00 2001 From: Oleg Tsvetkov Date: Sun, 12 Jun 2016 02:06:24 +0300 Subject: [PATCH] Removed accidentally added Timer call inside a ZTele_TeleportClient function. --- src/zr/ztele/ztele.inc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/zr/ztele/ztele.inc b/src/zr/ztele/ztele.inc index e75aa69..0051f16 100644 --- a/src/zr/ztele/ztele.inc +++ b/src/zr/ztele/ztele.inc @@ -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(data); - if (!IsClientInGame(client)) - { - return; - } - if (ZTele_IsRandomPositionEnabled()) { int select = Math_GetRandomInt(0, g_iZTeleSpawnPointsCount - 1);