Make bounties dynamic, plus small ctf_stats change

Top 50 (instead of 41) players in the league table
This commit is contained in:
Anand S 2018-04-06 15:51:44 +05:30 committed by rubenwardy
parent ccd40285f0
commit ea51cf4152
2 changed files with 20 additions and 11 deletions

View file

@ -44,7 +44,7 @@ function ctf_stats.get_formspec(title, players)
"," .. pstat.captures ..
"," .. pstat.attempts ..
"," .. math.floor(pstat.score*10)/10
if i > 40 then
if i > 49 then
break
end
end
@ -86,7 +86,7 @@ function ctf_stats.get_html(title, players)
"</td><td>" .. pstat.captures ..
"</td><td>" .. pstat.attempts ..
"</td><td>" .. math.floor(pstat.score*10)/10 .. "</td></tr>"
if i > 40 then
if i > 49 then
break
end
end