From 232a86aae4e5b0466352b121284dc83f692be5c7 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 10 Nov 2025 17:29:46 +0300 Subject: [PATCH] fix the stupid --- res/scripts/stdmin.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/res/scripts/stdmin.lua b/res/scripts/stdmin.lua index ea425748..0f90cea6 100644 --- a/res/scripts/stdmin.lua +++ b/res/scripts/stdmin.lua @@ -742,24 +742,12 @@ function require(path) return __load_script(prefix .. ":modules/" .. file .. ".lua", nil, env) end --- TODO: move to string -local function join(t, sep) - local s = "" - for i, v in ipairs(t) do - s = s..tostring(v) - if i < #t then - s = s..sep - end - end - return s -end - function __scripts_cleanup(non_reset_packs) debug.log("cleaning scripts cache") if #non_reset_packs == 0 then debug.log("no non-reset packs") else - debug.log("non-reset packs: "..join(non_reset_packs, ", ")) + debug.log("non-reset packs: "..table.concat(non_reset_packs, ", ")) end for k, v in pairs(__cached_scripts) do local packname, _ = parse_path(k)