I have no idea how that got mangled like that
This commit is contained in:
parent
0802779f9e
commit
6865cca0f1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue