Removed accidentally added Timer call inside a ZTele_TeleportClient function.
This commit is contained in:
parent
678ad2ef0c
commit
efeec511c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user