mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-15 22:40:19 +01:00
Disallow screwdriver rotating torches, to avoid bad torch rotations
This commit is contained in:
parent
232cc2bd1c
commit
3ea648f5bf
|
@ -71,6 +71,7 @@ minetest.register_node("default:torch", {
|
||||||
end,
|
end,
|
||||||
floodable = true,
|
floodable = true,
|
||||||
on_flood = on_flood,
|
on_flood = on_flood,
|
||||||
|
on_rotate = false
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("default:torch_wall", {
|
minetest.register_node("default:torch_wall", {
|
||||||
|
@ -94,6 +95,7 @@ minetest.register_node("default:torch_wall", {
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
floodable = true,
|
floodable = true,
|
||||||
on_flood = on_flood,
|
on_flood = on_flood,
|
||||||
|
on_rotate = false
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("default:torch_ceiling", {
|
minetest.register_node("default:torch_ceiling", {
|
||||||
|
@ -117,6 +119,7 @@ minetest.register_node("default:torch_ceiling", {
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
floodable = true,
|
floodable = true,
|
||||||
on_flood = on_flood,
|
on_flood = on_flood,
|
||||||
|
on_rotate = false
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_lbm({
|
minetest.register_lbm({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user