mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Fixed Player list bug
This commit is contained in:
@@ -6,7 +6,7 @@ return function()
|
|||||||
local rtn = {}
|
local rtn = {}
|
||||||
local default = {}
|
local default = {}
|
||||||
for _,role_name in pairs(Role.order) do
|
for _,role_name in pairs(Role.order) do
|
||||||
local role = Role.get(role_name)
|
local role = Role.get(role_name,true)
|
||||||
if role.is_default then default = {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
|
else table.insert(rtn,{role.colour,role.short_hand,role:get_players(true),role.not_reportable}) end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user