Skip to content

Commit

Permalink
Disallow jdoors2 rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklp09 committed Jun 21, 2024
1 parent f6a8edb commit 4362050
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions my_sliding_doors/jdoors2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ local function add_door(doora, doorb, doorc, doord, num)
{-0.5, -0.5, -0.0625, 0.5, 1.5, -0.1875}
}
},
on_rotate = screwdriver.rotate_simple,
on_rotate = screwdriver.disallow,

on_place = onplace,

Expand Down Expand Up @@ -177,7 +177,7 @@ local function add_door(doora, doorb, doorc, doord, num)
{0, 0, 0, 0, 0, 0},
}
},
on_rotate = screwdriver.rotate_simple,
on_rotate = screwdriver.disallow,
})
minetest.register_node(doorc.."2", {
tiles = {
Expand Down Expand Up @@ -216,7 +216,7 @@ local function add_door(doora, doorb, doorc, doord, num)
{-1.5, -0.5, 0.0625, -0.5, 1.5, -0.1875}
}
},
on_rotate = screwdriver.rotate_simple,
on_rotate = screwdriver.disallow,
after_place_node = afterplace,
after_destruct = afterdestruct,
on_rightclick = rightclick,
Expand Down Expand Up @@ -257,7 +257,7 @@ local function add_door(doora, doorb, doorc, doord, num)
{0, 0, 0, 0, 0, 0},
}
},
on_rotate = screwdriver.rotate_simple,
on_rotate = screwdriver.disallow,
})
end

Expand Down

0 comments on commit 4362050

Please sign in to comment.