diff --git a/discord_verificiation/scripting/unloze_player_time.sp b/discord_verificiation/scripting/unloze_player_time.sp index 9eaaca5..3350268 100644 --- a/discord_verificiation/scripting/unloze_player_time.sp +++ b/discord_verificiation/scripting/unloze_player_time.sp @@ -161,7 +161,12 @@ public int GetAveragePlayerActiveTimeServer() { continue; } - total_hours += g_iPlayerTimeServer[i]; + + //re-introducing the hour capacity but putting it here is better than putting it at the mysql query + //at the time of making this change its only affeting me jenz and nobody else. this is meant to prevent + //the average hour from being too skewed by high playtime people. + int added_hours = g_iPlayerTimeServer[i] > 5000 ? 5000 : g_iPlayerTimeServer[i]; + total_hours += added_hours; total_players++; } }