epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
18 stars 1 forks source link

json library is broken in today's update #557

Closed laceous closed 1 year ago

laceous commented 1 year ago

Steam just pushed an update which seemed to break the json library.

I'm seeing this in my log:

[INFO] - Error in "PostGameStart" call: resources/scripts/json.lua:237: attempt to call a nil value (global 'load')

It's referring to this line in json.lua:

local stringEval = load(stringValue)

However, main.lua is removing the load function:

if not _LUADEBUG then
    debug = nil
    arg = nil
    dofile = nil
    loadfile = nil
    load = nil
end
laceous commented 1 year ago

This seems to have been fixed.