mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-07 06:06:10 -04:00
Use connect_to_raillike for rail
Used value: 2
This commit is contained in:
parent
dd34dffa45
commit
852b337916
2 changed files with 17 additions and 1 deletions
|
@ -1541,7 +1541,7 @@ minetest.register_node("default:rail", {
|
|||
-- but how to specify the dimensions for curved and sideways rails?
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {bendy=2,dig_immediate=2,attached_node=1},
|
||||
groups = {bendy=2,dig_immediate=2,attached_node=1,connect_to_raillike=minetest.raillike_group("rail")},
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue