mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
change the dynamic time limit averaging from row-count to the minimum times thing
This commit is contained in:
parent
1dd2b0ede8
commit
6b2f709320
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user