From 7919512b3ea112f0311ce0fd0892179389cf43e3 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 5 Oct 2014 16:05:47 -0400 Subject: [PATCH] remove some commented-out code --- homedecor/doors_and_gates.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/homedecor/doors_and_gates.lua b/homedecor/doors_and_gates.lua index cf45086f..4de2164e 100644 --- a/homedecor/doors_and_gates.lua +++ b/homedecor/doors_and_gates.lua @@ -733,10 +733,6 @@ minetest.register_node("homedecor:jpn_door_top", { type = "fixed", fixed = { 0, 0, 0, 0, 0, 0 }, }, ---- on_rightclick = function(pos, node, clicker) --- fdir = minetest.get_node(pos).param2 --- minetest.set_node(pos, {name = "homedecor:jpn_door_bottom_top_open", param2 = fdir}) --- end }) minetest.register_node("homedecor:jpn_door_bottom_open", { @@ -799,11 +795,6 @@ minetest.register_node("homedecor:jpn_door_top_open", { type = "fixed", fixed = { 0, 0, 0, 0, 0, 0 }, }, --- on_rightclick = function(pos, node, clicker) --- fdir = minetest.get_node(pos).param2 --- minetest.set_node(pos, {name = "homedecor:jpn_door_top", param2 = fdir}) --- minetest.set_node({x = pos.x, y=pos.y - 1, z = pos.z}, {name = "homedecor:jpn_door_bottom", param2 = fdir}) --- end, })