diff --git a/System/.hash b/System/.hash index 57d7368..01bf26c 100755 --- a/System/.hash +++ b/System/.hash @@ -1 +1 @@ -1.86449353E9 \ No newline at end of file +4.99783031E8 \ No newline at end of file diff --git a/System/API/Environment.lua b/System/API/Environment.lua index 5a23e81..0e36e35 100755 --- a/System/API/Environment.lua +++ b/System/API/Environment.lua @@ -36,6 +36,7 @@ GetCleanEnvironment = function(self) for k, v in pairs(cleanEnvironment) do cleanEnv[k] = v end + cleanEnv._G = cleanEnv return cleanEnv end diff --git a/startup b/startup index 9d488cc..26304a2 100755 --- a/startup +++ b/startup @@ -1,10 +1,10 @@ +isDebug = false + cleanEnvironment = {} for k, v in pairs(_G) do cleanEnvironment[k] = v end -isDebug = false - oldTerm = term --[[ @@ -294,6 +294,7 @@ function PastebinPut(file) end function BootMenu() + local Drawing = LegacyDrawing Log.i('Entered Boot Menu') Drawing.Clear(colours.white) Drawing.DrawCharactersCenter(nil, (-Drawing.Screen.Height/2) + 2, nil, nil, 'OneOS', colours.blue, colours.white) @@ -627,6 +628,8 @@ elseif Start() then print(v) end + local Drawing = LegacyDrawing + PrintCentered('Checking for file modifications...', Drawing.Screen.Height-3) local modified = IsSystemModified() term.clearLine()