Fixed rank:get_players

This commit is contained in:
Cooldude2606
2017-12-28 14:10:07 +00:00
parent 7ffeaaed5b
commit 662cde42aa

View File

@@ -199,7 +199,7 @@ end
-- @tparam bolean online get only online players
-- @treturn table a table of all players in this rank
function Ranking._rank:get_players(online)
local players = game.permissions.get_group(rank.name).players
local players = game.permissions.get_group(self.name).players
local _return = {}
if online then
for _,player in pairs(players) do