aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/import.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/import.lua b/util/import.lua
index 12d1957f..8ecfe43c 100644
--- a/util/import.lua
+++ b/util/import.lua
@@ -10,7 +10,7 @@
local unpack = table.unpack or unpack; --luacheck: ignore 113 143
local t_insert = table.insert;
-function import(module, ...)
+function _G.import(module, ...)
local m = package.loaded[module] or require(module);
if type(m) == "table" and ... then
local ret = {};