mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
Fix localizations
This commit is contained in:
parent
bef434d374
commit
edbf61a6e4
@ -1,6 +1,7 @@
|
|||||||
-- Localize globals
|
-- Localize globals
|
||||||
local assert, minetest, modlib, next, pairs, string, setmetatable, table, type, unpack
|
local Settings, assert, minetest, modlib, next, pairs, ipairs, string, setmetatable, table, type, unpack
|
||||||
= assert, minetest, modlib, next, pairs, string, setmetatable, table, type, unpack
|
= Settings, assert, minetest, modlib, next, pairs, ipairs, string, setmetatable, table, type, unpack
|
||||||
|
|
||||||
-- Set environment
|
-- Set environment
|
||||||
local _ENV = ...
|
local _ENV = ...
|
||||||
setfenv(1, _ENV)
|
setfenv(1, _ENV)
|
||||||
|
Loading…
Reference in New Issue
Block a user