Fixed bug in IsClientPlayer.
This commit is contained in:
parent
4aff5dd122
commit
18fecd7c3e
@ -193,7 +193,7 @@ bool:IntToBool(intval)
|
|||||||
|
|
||||||
bool:IsClientPlayer(client)
|
bool:IsClientPlayer(client)
|
||||||
{
|
{
|
||||||
if (client > 1 || client <= maxclients)
|
if (client > 1 && client <= maxclients)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user