Update json.lua

This commit is contained in:
Kan18
2023-12-17 10:14:40 -05:00
committed by MayaTheShy
parent 7bd993a12d
commit 857c0e252d

View File

@@ -39,7 +39,8 @@ if register_global_module_table then
_G[global_module_name] = json
end
local _ENV = nil -- blocking globals in Lua 5.2
-- this was incompatible because we use fs later
--local _ENV = nil -- blocking globals in Lua 5.2
pcall (function()
-- Enable access to blocked metatables.