Make bounties dynamic, plus small ctf_stats change
Top 50 (instead of 41) players in the league table
This commit is contained in:
parent
ccd40285f0
commit
ea51cf4152
2 changed files with 20 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue