Fixed Player list bug

This commit is contained in:
Cooldude2606
2019-02-08 18:22:19 +00:00
parent be3cb7d0d9
commit 00210804b6

View File

@@ -6,7 +6,7 @@ return function()
local rtn = {}
local default = {}
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}
else table.insert(rtn,{role.colour,role.short_hand,role:get_players(true),role.not_reportable}) end
end