mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-04 11:27:56 +00:00
Remove extra space (#586)
This commit is contained in:
@@ -350,3 +350,9 @@ Ignored Documentation Changes, these are locate
|
|||||||
|
|
||||||
Strict Globals (#583)
|
Strict Globals (#583)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
fff8353451451be5ae31e0f63d8e529b127fd186
|
||||||
|
|
||||||
|
Remove extra space (#586)
|
||||||
|
```
|
||||||
|
@@ -524,7 +524,7 @@ function os.run(_tEnv, _sPath, ...)
|
|||||||
local tEnv = _tEnv
|
local tEnv = _tEnv
|
||||||
setmetatable(tEnv, { __index = _G })
|
setmetatable(tEnv, { __index = _G })
|
||||||
|
|
||||||
if settings.get("bios.strict_globals", false) then
|
if settings.get("bios.strict_globals", false) then
|
||||||
-- load will attempt to set _ENV on this environment, which
|
-- load will attempt to set _ENV on this environment, which
|
||||||
-- throws an error with this protection enabled. Thus we set it here first.
|
-- throws an error with this protection enabled. Thus we set it here first.
|
||||||
tEnv._ENV = tEnv
|
tEnv._ENV = tEnv
|
||||||
|
Reference in New Issue
Block a user