mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
prep
This commit is contained in:
@@ -260,6 +260,14 @@ function get_ranks(part)
|
||||
else to_return = global.ranks.ranks end
|
||||
return to_return
|
||||
end
|
||||
-- returns a list off all the groups, return only one part if given
|
||||
function get_rank_groups(part)
|
||||
local to_return = {}
|
||||
if part then
|
||||
for _,group in pairs(global.ranks.groups) do table.insert(to_return,group[part]) end
|
||||
else to_return = global.ranks.groups end
|
||||
return to_return
|
||||
end
|
||||
-- Move the ranks to the global array
|
||||
Event.register(-1,function() global.ranks = ranks end)
|
||||
--Please Only Edit Above This Line-----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user