Fix nil player list concatenating

This commit is contained in:
Athozus 2024-03-22 22:05:48 +01:00
parent 2694ffa2dc
commit 163467379f
No known key found for this signature in database
GPG Key ID: B50895022E8484BF

View File

@ -60,6 +60,9 @@ end
function mail.concat_player_list(order)
-- turn list of players back into normalized string
if order == nil or #order == 0 then
return ""
end
return table.concat(order, ", ")
end