Fixed EapGamingCore.Gui

This commit is contained in:
Cooldude2606
2018-09-17 22:32:11 +01:00
parent fcba578e83
commit be49b06151
14 changed files with 70 additions and 51 deletions

View File

@@ -1,9 +1,9 @@
local Ranking = require('ExpGamingCore.Ranking')
local Ranking = require('ExpGamingCore.Ranking@^4.0.0')
return function()
local rtn = {}
for _,rank in pairs(Ranking.ranks) do
table.insert(rtn,{rank.colour,rank.short_hand,rank:get_players(true))
table.insert(rtn,{rank.colour,rank.short_hand,rank:get_players(true),rank:allowed('no-report')})
end
return rtn
end