Rewrite scoring algorithm

This commit is contained in:
rubenwardy 2017-10-13 00:09:25 +01:00
parent 496ef9c30c
commit 2234a59c61
4 changed files with 139 additions and 66 deletions

View file

@ -42,7 +42,6 @@ local function get_is_player_pro(player)
pstat.color = nil
table.insert(players, pstat)
end
ctf_stats.calc_scores(players)
return ctf_stats.player(player:get_player_name()).score > 0
end