Remove "_ml" alias

master
Lars Mueller 2021-08-16 18:11:55 +02:00
parent 1547809fae
commit 93f9e3adb1
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,8 @@ No dependencies. Licensed under the MIT License. Written by Lars Mueller aka LMD
## API
Mostly self-documenting code. Mod namespace is `modlib` or `_ml`, containing all variables & functions.
Mostly self-documenting code. Mod namespace is `modlib`, containing all variables & functions.
### Persistence

View File

@ -129,7 +129,6 @@ modlib = setmetatable({
end
})
_ml = modlib
if minetest then
modlib.mod = dofile(get_resource(modlib.modname, "mod.lua"))
@ -145,7 +144,6 @@ if minetest then
modlib.conf.build_setting_tree()
end
_ml = modlib
--[[
--modlib.mod.include"test.lua"