Fix log special case for empty tables

This commit is contained in:
Lucien Greathouse
2019-11-15 15:43:42 -08:00
parent 3c3359999c
commit 2493c70241

View File

@@ -42,7 +42,7 @@ end
]]
local function defaultTableDebugExtended(buffer, input)
-- Special case for empty tables.
if next(buffer) == nil then
if next(input) == nil then
buffer:writeRaw("{}")
return
end