From 9b502553e064635a27fff50c099151c68e29d824 Mon Sep 17 00:00:00 2001 From: Kan18 <24967425+Kan18@users.noreply.github.com> Date: Sun, 17 Dec 2023 10:14:40 -0500 Subject: [PATCH] Update json.lua --- sys/modules/opus/json.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/modules/opus/json.lua b/sys/modules/opus/json.lua index 04b1cd1..41d0e36 100644 --- a/sys/modules/opus/json.lua +++ b/sys/modules/opus/json.lua @@ -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.