refactor(resource): load extra modules

This commit is contained in:
Linden committed 2024-04-01 19:15:04 +11:00
1 parent 989462da7d
commit 09ca963f26
3 files changed
+25 -19

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ end
---Loads the given module inside the current resource, returning any values returned by the file or `true` when `nil`.
---@param modname string
---@return unknown?
---@return unknown
function lib.require(modname)
if type(modname) ~= 'string' then return end