From d1b8d0ec6ca90d45d9d9ae19a4071363ce0fe8ed Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Sun, 13 Aug 2023 09:22:37 +1000 Subject: [PATCH] fix(init): set correct chunk name Used in debugging and errors. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index bdf70c4..b4c1ba1 100644 --- a/init.lua +++ b/init.lua @@ -40,7 +40,7 @@ local function loadModule(self, module) end if chunk then - local fn, err = load(chunk, ('@@ox_lib/%s/%s.lua'):format(module, context)) + local fn, err = load(chunk, ('@@ox_lib/imports/%s/%s.lua'):format(module, context)) if not fn or err then return error(('\n^1Error importing module (%s): %s^0'):format(dir, err), 3)