summaryrefslogtreecommitdiff
path: root/mesecons_extrawires
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r--mesecons_extrawires/corner.lua4
-rw-r--r--mesecons_extrawires/tjunction.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua
index 05e76b3..63a6ec4 100644
--- a/mesecons_extrawires/corner.lua
+++ b/mesecons_extrawires/corner.lua
@@ -37,7 +37,7 @@ minetest.register_node("mesecons_extrawires:corner_on", {
sunlight_propagates = true,
selection_box = corner_selectionbox,
node_box = corner_nodebox,
- on_rotate = screwdriver.rotate_simple,
+ on_rotate = mesecon.rotate_simple,
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "mesecons_extrawires:corner_off",
mesecons = {conductor =
@@ -65,7 +65,7 @@ minetest.register_node("mesecons_extrawires:corner_off", {
sunlight_propagates = true,
selection_box = corner_selectionbox,
node_box = corner_nodebox,
- on_rotate = screwdriver.rotate_simple,
+ on_rotate = mesecon.rotate_simple,
groups = {dig_immediate = 3},
mesecons = {conductor =
{
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 =
{