Skip to content

Commit

Permalink
I have no idea how that got mangled like that
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Feb 20, 2021
1 parent 0802779 commit 6865cca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@ random_names.list = _"Aban,Abidin,Acacalide,Acimaëli,Acratoforo,Actarof,Adham,A

function random_names.generate()
if type(random_names.list) ~= "table" then
random_names.list = stringx.splitandom_names.list))
random_names.list = stringx.split(tostring(random_names.list))
end
return random_names.list[wesnoth.random(#random_names.list)]
end
Expand Down

0 comments on commit 6865cca

Please sign in to comment.