1
0
mirror of https://github.com/kepler155c/opus synced 2025-04-07 08:06:54 +00:00

Update json.lua

This commit is contained in:
Kan18 2023-12-17 10:14:40 -05:00 committed by GitHub
parent c247097e20
commit 9b502553e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.