Skip to content

Commit

Permalink
Use _G for mkmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
vallode committed May 9, 2024
1 parent a731f1b commit 436f392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/lua/dfhack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ end
---@nodiscard
---@param module string
---@param env? table|metatable
---@return table pkg
---@return _G pkg
function mkmodule(module,env)
-- Verify that the module name is correct
local _, rq_modname = find_required_module_arg()
Expand Down

0 comments on commit 436f392

Please sign in to comment.