From 4a694454951aadb19e749b63aabaecc768d5dcb2 Mon Sep 17 00:00:00 2001 From: jenz Date: Sat, 22 Feb 2025 13:56:01 +0100 Subject: [PATCH] replaced connect extension for playermanager since it verifies now if players are nosteam --- RaceTimer/scripting/unloze_racetimer_redux.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RaceTimer/scripting/unloze_racetimer_redux.sp b/RaceTimer/scripting/unloze_racetimer_redux.sp index 59099f55..5231233d 100755 --- a/RaceTimer/scripting/unloze_racetimer_redux.sp +++ b/RaceTimer/scripting/unloze_racetimer_redux.sp @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #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;