mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-22 23:33:12 +09:00
Fixed rank:get_players
This commit is contained in:
1 parent
7ffeaaed5b
commit
662cde42aa
1 file changed
+1
-1
+1
-1
@@ -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