mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 00:14:52 +09:00
Fixed Jail and server.interface
This commit is contained in:
1 parent
d8ca2e0c9a
commit
7c00cfcaaa
4 files changed
+13
-10
No files matched your search
@@ -4,9 +4,12 @@ script.on_event(defines.events.on_role_change,self.update)
|
||||
|
||||
return function()
|
||||
local rtn = {}
|
||||
local default = {}
|
||||
for _,role_name in pairs(Role.order) do
|
||||
local role = Role.get(role_name)
|
||||
table.insert(rtn,{role.colour,role.short_hand,role:get_players(true),role.not_reportable})
|
||||
if role.is_default then default = {role.colour,role.short_hand,role:get_players(true),role.not_reportable}
|
||||
else table.insert(rtn,{role.colour,role.short_hand,role:get_players(true),role.not_reportable}) end
|
||||
end
|
||||
table.insert(rtn,default)
|
||||
return rtn
|
||||
end
|
||||
Reference in new issue
Block a user