summaryrefslogtreecommitdiff
path: root/mesecons_extrawires/tjunction.lua
diff options
context:
space:
mode:
authorCarter Kolwey <cheapiephp@gmail.com>2017-01-11 16:02:28 -0600
committerJeija <norrepli@gmail.com>2017-03-04 09:40:07 +0100
commit199fb62108e30f0c784583ca5c5add19ca36c02f (patch)
treeca3c98f7734ba6a84e1fa3ccd0b5757f4002ff32 /mesecons_extrawires/tjunction.lua
parentc7136b72cb9d041d7a49d905c03841373a93b45c (diff)
Properly handle missing screwdriver modorigin/piston-rotation-rebased
Diffstat (limited to 'mesecons_extrawires/tjunction.lua')
-rw-r--r--mesecons_extrawires/tjunction.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua
index 3d991d0..079d88c 100644
--- a/mesecons_extrawires/tjunction.lua
+++ b/mesecons_extrawires/tjunction.lua
@@ -38,7 +38,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", {
sunlight_propagates = true,
selection_box = tjunction_selectionbox,
node_box = tjunction_nodebox,
- on_rotate = screwdriver.rotate_simple,
+ on_rotate = mesecon.rotate_simple,
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "mesecons_extrawires:tjunction_off",
mesecons = {conductor =
@@ -66,7 +66,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", {
sunlight_propagates = true,
selection_box = tjunction_selectionbox,
node_box = tjunction_nodebox,
- on_rotate = screwdriver.rotate_simple,
+ on_rotate = mesecon.rotate_simple,
groups = {dig_immediate = 3},
mesecons = {conductor =
{