diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-01-28 18:31:23 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-03-13 23:56:05 +0100 |
commit | ba66fce8339f818a638f97679bd29da064a8c1c6 (patch) | |
tree | ad770bd6129be5f1b9058aaca8f773f09631e323 /clientmods/preview/init.lua | |
parent | a50d07d39a76053328846d82a32bac61468bb16f (diff) | |
download | minetest-ba66fce8339f818a638f97679bd29da064a8c1c6.tar.gz minetest-ba66fce8339f818a638f97679bd29da064a8c1c6.tar.bz2 minetest-ba66fce8339f818a638f97679bd29da064a8c1c6.zip |
[CSM] storage + fixes
Diffstat (limited to 'clientmods/preview/init.lua')
-rw-r--r-- | clientmods/preview/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua index 4c01d665f..f03e8e112 100644 --- a/clientmods/preview/init.lua +++ b/clientmods/preview/init.lua @@ -1,3 +1,5 @@ +local modname = core.get_current_modname() or "??" + -- This is an example function to ensure it's working properly, should be removed before merge core.register_on_shutdown(function() print("[PREVIEW] shutdown client") @@ -38,5 +40,5 @@ core.register_chatcommand("dump", { }) core.after(2, function() - print("After 2") + print("[PREVIEW] loaded " .. modname .. " mod") end) |