Fixed a few bugs

This commit is contained in:
Cooldude2606
2017-11-30 19:15:38 +00:00
parent 95ff205e2a
commit 4efa83edd9
5 changed files with 17 additions and 8 deletions

View File

@@ -413,7 +413,7 @@ function table.val_to_str(v)
end
return '"'..string.gsub(v,'"', '\\"' )..'"'
else
return "table" == type( v) and table.tostring(v) or
return "table" == type( v) and table.to_string(v) or
"function" == type(v) and '"cant-display-function"' or
"userdata" == type(v) and '"cant-display-userdata"' or
tostring(v)