Removed added line in table.to_string incase that was the problem

This commit is contained in:
Cooldude2606
2017-09-15 18:56:19 +01:00
parent 5ebd4cf4fd
commit dd0c13d64a

View File

@@ -57,7 +57,6 @@ function table.key_to_str ( k )
end
function table.to_string( tbl )
if not type(tbl) == 'table' then return {tostring(tbl)} end
local result, done = {}, {}
for k, v in ipairs( tbl ) do
table.insert( result, table.val_to_str( v ) )