diff --git a/[core]/es_extended/imports.lua b/[core]/es_extended/imports.lua index 6d6a862e..5e40a2d0 100644 --- a/[core]/es_extended/imports.lua +++ b/[core]/es_extended/imports.lua @@ -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 local loadingModules = {} ---@type table