From 93f9e3adb1c6d7dfde1ceb6b055cba313f86973a Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Mon, 16 Aug 2021 18:11:55 +0200 Subject: [PATCH] Remove "_ml" alias --- Readme.md | 3 ++- init.lua | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 99befe6..7b1fc97 100644 --- a/Readme.md +++ b/Readme.md @@ -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 diff --git a/init.lua b/init.lua index 5812fac..9f9d622 100644 --- a/init.lua +++ b/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"