mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-20 05:14:10 +02: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
|
## 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
|
### Persistence
|
||||||
|
|
||||||
|
2
init.lua
2
init.lua
@ -129,7 +129,6 @@ modlib = setmetatable({
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
_ml = modlib
|
|
||||||
|
|
||||||
if minetest then
|
if minetest then
|
||||||
modlib.mod = dofile(get_resource(modlib.modname, "mod.lua"))
|
modlib.mod = dofile(get_resource(modlib.modname, "mod.lua"))
|
||||||
@ -145,7 +144,6 @@ if minetest then
|
|||||||
modlib.conf.build_setting_tree()
|
modlib.conf.build_setting_tree()
|
||||||
end
|
end
|
||||||
|
|
||||||
_ml = modlib
|
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
--modlib.mod.include"test.lua"
|
--modlib.mod.include"test.lua"
|
||||||
|
Loading…
Reference in New Issue
Block a user