1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-29 06:05:35 -05:00

made the shell actually able to print tables containing functions

This commit is contained in:
XeonSquared 2020-03-24 16:26:48 +11:00
parent 7b8c532141
commit 1f97e90066

View File

@ -12,7 +12,7 @@ end
local function formatValue(v)
if type(v) == "table" then
local w, rs = pcall(serial.serialize,v)
local w, rs = pcall(serial.serialize,v,true)
if w then return rs end
end
return tostring(v)