Correct native use, PM_IsPlayerSteam errors on fake clients.
This commit is contained in:
parent
eae6109b87
commit
38c4fb1670
@ -733,7 +733,7 @@ public void unloze_zoneLeave(int client, char[] zone)
|
|||||||
{
|
{
|
||||||
if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
|
if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
|
||||||
{
|
{
|
||||||
if (!PM_IsPlayerSteam(client))
|
if (!IsFakeClient(client) && !PM_IsPlayerSteam(client))
|
||||||
{
|
{
|
||||||
PrintToChat(client, "Not starting timer due to being listed as nosteamer");
|
PrintToChat(client, "Not starting timer due to being listed as nosteamer");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user