summaryrefslogtreecommitdiff
path: root/mesecons_temperest
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_temperest')
-rw-r--r--mesecons_temperest/init.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/mesecons_temperest/init.lua b/mesecons_temperest/init.lua
index 08b3eb5..5779f2b 100644
--- a/mesecons_temperest/init.lua
+++ b/mesecons_temperest/init.lua
@@ -3,7 +3,7 @@
local set_node_on
local set_node_off
-if ENABLE_TEMPEREST==1 then
+if ENABLE_TEMPEREST then
set_node_on = function(pos)
local node = minetest.env:get_node(pos)
if node.name=="mesecons_temperest:mesecon_socket_off" then
@@ -185,7 +185,7 @@ minetest.register_craft({
})
--TEMPEREST-INVERTER
-if ENABLE_TEMPEREST==1 then
+if ENABLE_TEMPEREST then
minetest.register_node("mesecons_temperest:mesecon_inverter_off", {
drawtype = "nodebox",
paramtype = "light",
@@ -241,6 +241,4 @@ if ENABLE_TEMPEREST==1 then
{'"mesecons:mesecon_off"', '"default:steel_ingot"', '"mesecons:mesecon_off"'},
}
})
-end
-
-
+end \ No newline at end of file