summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ward <anjayward@gmail.com>2012-12-17 17:43:56 +0000
committerAndrew Ward <anjayward@gmail.com>2012-12-17 17:43:56 +0000
commit9d35da3411cdd1a40d95bf7c0faae9b18b36ebb6 (patch)
tree63c127f8605175df925065bd0b9aa302a58d5646
parented0f8e255f98a3112769d0320c45121ce6da081f (diff)
Comments
-rw-r--r--support.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/support.lua b/support.lua
index 4295744..e6ca811 100644
--- a/support.lua
+++ b/support.lua
@@ -11,8 +11,10 @@
print "Food [Support] - Initialising"
function node_implement(modname,n_ext,n_int,resultfunc)
if not minetest.get_modpath(modname) then
+ -- Mod is NOT installed
resultfunc()
else
+ -- Mod IS installed
minetest.register_alias(n_int,n_ext)
end
end