ACTUALLY fix the issue
This commit is contained in:
+1
-2
@@ -11,8 +11,6 @@ else
|
|||||||
gpu = loadfile("/lib/component.lua")(loadfile).gpu
|
gpu = loadfile("/lib/component.lua")(loadfile).gpu
|
||||||
end
|
end
|
||||||
|
|
||||||
fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories
|
|
||||||
|
|
||||||
local resX, resY = gpu.getResolution()
|
local resX, resY = gpu.getResolution()
|
||||||
local log = {}
|
local log = {}
|
||||||
if not _G.logSettings then
|
if not _G.logSettings then
|
||||||
@@ -25,6 +23,7 @@ end
|
|||||||
local logFileSizeLimit = 16384
|
local logFileSizeLimit = 16384
|
||||||
|
|
||||||
local function writeToLog(path, text)
|
local function writeToLog(path, text)
|
||||||
|
fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories
|
||||||
local handle
|
local handle
|
||||||
if fs.exists(path) then
|
if fs.exists(path) then
|
||||||
handle = assert(fs.open(path, "a"))
|
handle = assert(fs.open(path, "a"))
|
||||||
|
|||||||
Reference in New Issue
Block a user