util/import.lua
changeset 8573 a4ef8cfa97bd
parent 8392 5d866eb8f18f
child 9696 affcbccc1dff
--- a/util/import.lua	Wed Mar 07 19:21:24 2018 +0100
+++ b/util/import.lua	Wed Mar 07 19:22:07 2018 +0100
@@ -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 = {};