mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 02:01:31 +00:00
Quick fix.
This commit is contained in:
@@ -82,7 +82,7 @@ local function call(self, index, ...)
|
||||
|
||||
if not module then
|
||||
local function method(...)
|
||||
return exports[index](nil, ...)
|
||||
return exports[LIB_NAME][index](nil, ...)
|
||||
end
|
||||
|
||||
if not ... then
|
||||
@@ -115,4 +115,4 @@ local xLib = setmetatable({
|
||||
|
||||
-- Allows to xLib to be accessible in resource that imports a lib
|
||||
_ENV.xLib = xLib
|
||||
_ENV.require = xLib.require
|
||||
_ENV.require = xLib.require
|
||||
|
||||
Reference in New Issue
Block a user