Skip to content

Commit

Permalink
change the dynamic time limit averaging from row-count to the minimum…
Browse files Browse the repository at this point in the history
… times thing
  • Loading branch information
rtldg committed Sep 28, 2021
1 parent 1dd2b0e commit 6b2f709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/shavit-timelimit.sp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public void SQL_GetMapTimes(Database db, DBResultSet results, const char[] error
if(iRows >= gCV_MinimumTimes.IntValue)
{
float fTimeSum = results.FetchFloat(1);
float fAverage = (fTimeSum / 60 / iRows);
float fAverage = (fTimeSum / 60 / gCV_MinimumTimes.IntValue);

if(fAverage <= 1)
{
Expand Down

0 comments on commit 6b2f709

Please sign in to comment.