mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Fixed rank:get_players
This commit is contained in:
@@ -199,7 +199,7 @@ end
|
|||||||
-- @tparam bolean online get only online players
|
-- @tparam bolean online get only online players
|
||||||
-- @treturn table a table of all players in this rank
|
-- @treturn table a table of all players in this rank
|
||||||
function Ranking._rank:get_players(online)
|
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 = {}
|
local _return = {}
|
||||||
if online then
|
if online then
|
||||||
for _,player in pairs(players) do
|
for _,player in pairs(players) do
|
||||||
|
|||||||
Reference in New Issue
Block a user