projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232cc2b
)
Disallow screwdriver rotating torches, to avoid bad torch rotations
author
An0n3m0us
<an0n3m0us@hotmail.com>
Tue, 11 Feb 2020 03:58:41 +0000
(
03:58
+0000)
committer
GitHub
<noreply@github.com>
Tue, 11 Feb 2020 03:58:41 +0000
(
03:58
+0000)
mods/default/torch.lua
patch
|
blob
|
history
diff --git
a/mods/default/torch.lua
b/mods/default/torch.lua
index bf0201486fba5dc405cb61b7a7322a3f634fa082..c06dee8f407f6a9e5a3f30e5d64a17fd9c2ee12f 100644
(file)
--- a/
mods/default/torch.lua
+++ b/
mods/default/torch.lua
@@
-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", {
@@
-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", {
@@
-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({