Fix nil player list concatenating
This commit is contained in:
parent
2694ffa2dc
commit
163467379f
@ -60,6 +60,9 @@ end
|
|||||||
|
|
||||||
function mail.concat_player_list(order)
|
function mail.concat_player_list(order)
|
||||||
-- turn list of players back into normalized string
|
-- turn list of players back into normalized string
|
||||||
|
if order == nil or #order == 0 then
|
||||||
|
return ""
|
||||||
|
end
|
||||||
return table.concat(order, ", ")
|
return table.concat(order, ", ")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user