Skip to content

Commit

Permalink
Merge pull request #13 from Zabaniya001/patch-1
Browse files Browse the repository at this point in the history
Remove an unnecessary check from IsValidClient
  • Loading branch information
B3none authored Dec 11, 2021
2 parents bc94791 + 4176942 commit fca0552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/retakes_autoplant.sp
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@ public bool TraceFilterIgnorePlayers(int entity, int contentsMask, int client)

stock bool IsValidClient(int client)
{
return client > 0 && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client);
return client > 0 && client <= MaxClients && IsClientInGame(client);
}

0 comments on commit fca0552

Please sign in to comment.