fix(es_extended/imports): remove lua 5.4 dependency for importing resources

This commit is contained in:
Kenshin13
2025-01-02 12:26:22 +01:00
parent 7314bea972
commit 287582408a
+1 -1
View File
@@ -44,7 +44,7 @@ if not IsDuplicityVersion() then -- Only register this event for the client
end
end
if not lib?.require then
if not lib or not lib.require then
local cachedModules = {} ---@type table<string, any>
local loadingModules = {} ---@type table<string, true?>