replaced connect extension for playermanager since it verifies now if players are nosteam

This commit is contained in:
jenz 2025-02-22 13:56:01 +01:00
parent 63b8f9560b
commit 4a69445495

View File

@ -13,7 +13,7 @@
#include <cstrike>
#include <sdktools>
#include <sdkhooks>
#include <connect>
#include <PlayerManager>
#include <outputinfo>
#pragma newdecls required
char g_cMapname[g_dLength];
@ -733,7 +733,7 @@ public void unloze_zoneLeave(int client, char[] zone)
{
if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
{
if (!SteamClientAuthenticated(g_csSID[client]))
if (!PM_IsPlayerSteam(client))
{
PrintToChat(client, "Not starting timer due to being listed as nosteamer");
return;