1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

[mesecons] Update mesecons

- Also fix whitespaces in default/nodes.lua
This commit is contained in:
LeMagnesium
2015-10-07 14:02:36 +02:00
parent 0b2f6d8453
commit 9a3a835771
7 changed files with 19 additions and 8 deletions

View File

@ -15,7 +15,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
fixed = { -8/16, -8/16, 3/16, 8/16, 8/16, 8/16 },
},
sounds = default.node_sound_wood_defaults(),
on_punch = function (pos, node)
on_rightclick = function (pos, node)
if(mesecon.flipstate(pos, node) == "on") then
mesecon.receptor_on(pos, mesecon.rules.buttonlike_get(node))
else