aboutsummaryrefslogtreecommitdiff
path: root/clientmods/preview
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-06-06 12:53:59 +0200
committerGitHub <noreply@github.com>2018-06-06 12:53:59 +0200
commitccc3af128cb4b6213b8111115c570fe988d3523b (patch)
tree38a2f8cb43018759ca234ef1de62a43ff5049704 /clientmods/preview
parenta2de439a91df6876e13230696c05957a9da8b2ce (diff)
downloadminetest-ccc3af128cb4b6213b8111115c570fe988d3523b.tar.gz
minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.tar.bz2
minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.zip
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
Diffstat (limited to 'clientmods/preview')
-rw-r--r--clientmods/preview/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua
index 223577876..bb8d1d600 100644
--- a/clientmods/preview/init.lua
+++ b/clientmods/preview/init.lua
@@ -200,3 +200,8 @@ core.register_chatcommand("text", {
return core.localplayer:hud_change(id, "text", param)
end,
})
+
+
+core.register_on_mods_loaded(function()
+ core.log("Yeah preview mod is loaded with other CSM mods.")
+end)