diff options
author | Andrew Ward <anjayward@gmail.com> | 2012-12-17 17:43:56 +0000 |
---|---|---|
committer | Andrew Ward <anjayward@gmail.com> | 2012-12-17 17:43:56 +0000 |
commit | 9d35da3411cdd1a40d95bf7c0faae9b18b36ebb6 (patch) | |
tree | 63c127f8605175df925065bd0b9aa302a58d5646 | |
parent | ed0f8e255f98a3112769d0320c45121ce6da081f (diff) |
Comments
-rw-r--r-- | support.lua | 2 |
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
|