Fixed a few bugs

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

No files matched your search

+1 -1
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)