summaryrefslogtreecommitdiff
path: root/mesecons_walllever
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_walllever')
-rw-r--r--mesecons_walllever/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index 9ae0655..e9454cd 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -31,6 +31,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
"jeija_wall_lever_back_edges.png"
},
mesh="jeija_wall_lever_off.obj",
+ on_rotate = mesecon.buttonlike_onrotate,
mesecons = {receptor = {
rules = mesecon.rules.buttonlike_get,
state = mesecon.state.off
@@ -44,6 +45,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
"jeija_wall_lever_back_edges.png"
},
mesh="jeija_wall_lever_on.obj",
+ on_rotate = false,
mesecons = {receptor = {
rules = mesecon.rules.buttonlike_get,
state = mesecon.state.on