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:
parent
7b8c532141
commit
1f97e90066
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user