From 351ed3b7ee60ae1b6639691e25f6647e12139495 Mon Sep 17 00:00:00 2001 From: hubdom <26039831+hubdom@users.noreply.github.com> Date: Sun, 27 Dec 2020 22:14:13 +0100 Subject: [PATCH] AFKManager: give connecting players a 30 seconds time window before performing any AFK related actions --- AFKManager/scripting/AFKManager.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFKManager/scripting/AFKManager.sp b/AFKManager/scripting/AFKManager.sp index 15b79f2b..f42719c9 100644 --- a/AFKManager/scripting/AFKManager.sp +++ b/AFKManager/scripting/AFKManager.sp @@ -168,7 +168,7 @@ void InitializePlayer(int client) if(!(g_iImmunity == 1 && CheckAdminImmunity(client))) { ResetPlayer(client); - g_Players_iLastAction[client] = GetTime(); + g_Players_iLastAction[client] = GetTime() + 30; g_Players_bEnabled[client] = true; } }