From 98aabe2cfb772ea4af2f15e75af329929a501f97 Mon Sep 17 00:00:00 2001 From: Merith-TK Date: Thu, 22 Apr 2021 11:43:58 -0700 Subject: [PATCH] Remove extra space (#586) --- patchwork.md | 6 ++++++ src/main/resources/data/computercraft/lua/bios.lua | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/patchwork.md b/patchwork.md index 43321ca41..08274e447 100644 --- a/patchwork.md +++ b/patchwork.md @@ -350,3 +350,9 @@ Ignored Documentation Changes, these are locate Strict Globals (#583) ``` + +``` +fff8353451451be5ae31e0f63d8e529b127fd186 + +Remove extra space (#586) +``` diff --git a/src/main/resources/data/computercraft/lua/bios.lua b/src/main/resources/data/computercraft/lua/bios.lua index abccdf6b8..3e754f111 100644 --- a/src/main/resources/data/computercraft/lua/bios.lua +++ b/src/main/resources/data/computercraft/lua/bios.lua @@ -524,7 +524,7 @@ function os.run(_tEnv, _sPath, ...) local tEnv = _tEnv 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 -- throws an error with this protection enabled. Thus we set it here first. tEnv._ENV = tEnv