Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disallow screwdriver rotating torches, to avoid bad torch rotations
  • Loading branch information
An0n3m0us committed Feb 11, 2020
1 parent 232cc2b commit 3ea648f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mods/default/torch.lua
Expand Up @@ -71,6 +71,7 @@ minetest.register_node("default:torch", {
end,
floodable = true,
on_flood = on_flood,
on_rotate = false
})

minetest.register_node("default:torch_wall", {
Expand All @@ -94,6 +95,7 @@ minetest.register_node("default:torch_wall", {
sounds = default.node_sound_wood_defaults(),
floodable = true,
on_flood = on_flood,
on_rotate = false
})

minetest.register_node("default:torch_ceiling", {
Expand All @@ -117,6 +119,7 @@ minetest.register_node("default:torch_ceiling", {
sounds = default.node_sound_wood_defaults(),
floodable = true,
on_flood = on_flood,
on_rotate = false
})

minetest.register_lbm({
Expand Down

0 comments on commit 3ea648f

Please sign in to comment.