AFKManager: give connecting players a 30 seconds time window before performing any AFK related actions

This commit is contained in:
hubdom 2020-12-27 22:14:13 +01:00
parent 6f13eb0383
commit 351ed3b7ee

View File

@ -168,7 +168,7 @@ void InitializePlayer(int client)
if(!(g_iImmunity == 1 && CheckAdminImmunity(client))) if(!(g_iImmunity == 1 && CheckAdminImmunity(client)))
{ {
ResetPlayer(client); ResetPlayer(client);
g_Players_iLastAction[client] = GetTime(); g_Players_iLastAction[client] = GetTime() + 30;
g_Players_bEnabled[client] = true; g_Players_bEnabled[client] = true;
} }
} }