From e731a1f3fc4d9b5a41537e5d779645644507b8b7 Mon Sep 17 00:00:00 2001 From: jenz Date: Thu, 20 Aug 2026 11:35:05 +0200 Subject: [PATCH] just running the query every minute instead of 10. so knifeban, entwatc and display playtime have it more updated --- discord_verificiation/scripting/unloze_player_time.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord_verificiation/scripting/unloze_player_time.sp b/discord_verificiation/scripting/unloze_player_time.sp index 4ad8500..c3eefbe 100644 --- a/discord_verificiation/scripting/unloze_player_time.sp +++ b/discord_verificiation/scripting/unloze_player_time.sp @@ -162,7 +162,7 @@ public void OnPluginStart() RegConsoleCmd("sm_topplaytime", Command_TopTime, "retreives top 1000 playtime highscores on all connected servers"); g_h_time_activity = CreateTimer(10.0, time_query_activity, INVALID_HANDLE, TIMER_REPEAT); - CreateTimer(600.0, UpdateForward, _, TIMER_REPEAT); + CreateTimer(60.0, UpdateForward, _, TIMER_REPEAT); ConVar cvar; HookConVarChange((cvar = CreateConVar("sm_mapchooser_afk_detect_time", "120", "Time in seconds until a player is considered as AFK and therefore excluded from player average time.")), Cvar_playerAFKTime);