From c83fe8a7f4dca4e322d7b2fe7f19e3d130b1eae3 Mon Sep 17 00:00:00 2001 From: WahPlus <162732679+WahPlus@users.noreply.github.com> Date: Thu, 25 Sep 2025 08:48:31 +0300 Subject: [PATCH] ACTUALLY fix the issue --- lib/log.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/log.lua b/lib/log.lua index 9d08aee..fcdea40 100644 --- a/lib/log.lua +++ b/lib/log.lua @@ -11,8 +11,6 @@ else gpu = loadfile("/lib/component.lua")(loadfile).gpu end -fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories - local resX, resY = gpu.getResolution() local log = {} if not _G.logSettings then @@ -25,6 +23,7 @@ end local logFileSizeLimit = 16384 local function writeToLog(path, text) + fs.makeDirectory("halyde/logs") -- Git likes to not clone empty directories local handle if fs.exists(path) then handle = assert(fs.open(path, "a"))