1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +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

@ -4,7 +4,7 @@ mesecon.register_node("mesecons_switch:mesecon_switch", {
paramtype2="facedir",
description="Switch",
sounds = default.node_sound_stone_defaults(),
on_punch = function (pos, node)
on_rightclick = function (pos, node)
if(mesecon.flipstate(pos, node) == "on") then
mesecon.receptor_on(pos)
else