mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01:00
Remove "_ml" alias
This commit is contained in:
parent
1547809fae
commit
93f9e3adb1
@ -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
|
||||
|
||||
|
2
init.lua
2
init.lua
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user