„Modul:ServiceAward” változatai közötti eltérés

Do not use next rank value from user statistics
(Use min instead of the avg of the values)
(Do not use next rank value from user statistics)
 
local nextRank = nil
if not(userData[USER_STATISTICS_NEXT_RANK_INDEXUSER_STATISTICS_RANK_INDEX] == -1) thenand
table.getn(ranks) > USER_STATISTICS_RANK_INDEX then
nextRank = ranks[userData[USER_STATISTICS_NEXT_RANK_INDEX] + 1]
templateParams.nextRank = nextRank[RANKS_RANK_NAME_INDEX]
end