diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-02-17 18:25:19 -0500 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-02-17 18:25:19 -0500 |
commit | 86f69d9f5243e698cd1d6a24a52c847aa3dbb488 (patch) | |
tree | 9117a84b57bfd76f891515100276783d3d782bec | |
parent | a9152327a20268a16b210e52a25a46010eb4eba9 (diff) | |
download | mesecons-86f69d9f5243e698cd1d6a24a52c847aa3dbb488.tar mesecons-86f69d9f5243e698cd1d6a24a52c847aa3dbb488.tar.gz mesecons-86f69d9f5243e698cd1d6a24a52c847aa3dbb488.tar.bz2 mesecons-86f69d9f5243e698cd1d6a24a52c847aa3dbb488.tar.xz mesecons-86f69d9f5243e698cd1d6a24a52c847aa3dbb488.zip |
Forgot to include a check for node name in last commit...
-rw-r--r-- | jeija/temperest.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jeija/temperest.lua b/jeija/temperest.lua index 134c7b8..6a0e63a 100644 --- a/jeija/temperest.lua +++ b/jeija/temperest.lua @@ -169,7 +169,9 @@ minetest.register_node("jeija:mesecon_inverter_on", { }) minetest.register_on_placenode(function(pos, node) - mesecon:receptor_on(pos) + if node.name=="jeija:mesecon_inverter" then + mesecon:receptor_on(pos) + end end ) |