Permalink
Browse files

CreateDataTimer close the handle

  • Loading branch information...
Bara committed Oct 19, 2018
1 parent 118c110 commit f6e85772328f820a5e17755a970454e5b28df022
@@ -202,8 +202,6 @@ public Action Timer_DecoyBody(Handle timer, DataPack pack)
int attacker = GetClientOfUserId(pack.ReadCell());
int body = EntRefToEntIndex(pack.ReadCell());
bool bReal = view_as<bool>(pack.ReadCell());
delete pack;
if (TTT_IsClientValid(attacker) && IsValidEntity(body))
{
@@ -145,8 +145,6 @@ public Action Timer_CheckPlayers(Handle timer, DataPack pack)
int attacker = GetClientOfUserId(pack.ReadCell());
int entity = EntRefToEntIndex(pack.ReadCell());
delete pack;
if (TTT_IsClientValid(attacker) && IsValidEntity(entity))
{

0 comments on commit f6e8577

Please sign in to comment.