Correct native use, PM_IsPlayerSteam errors on fake clients.

This commit is contained in:
zaCade 2025-07-18 11:53:03 +02:00
parent eae6109b87
commit 38c4fb1670

View File

@ -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;