Skip to content

Commit fca0552

Browse files
authored
Merge pull request #13 from Zabaniya001/patch-1
Remove an unnecessary check from IsValidClient
2 parents bc94791 + 4176942 commit fca0552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripting/retakes_autoplant.sp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,5 @@ public bool TraceFilterIgnorePlayers(int entity, int contentsMask, int client)
240240

241241
stock bool IsValidClient(int client)
242242
{
243-
return client > 0 && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client);
243+
return client > 0 && client <= MaxClients && IsClientInGame(client);
244244
}

0 commit comments

Comments
 (0)