Improve rotation

More general function, checks for falling.
This commit is contained in:
Jude Melton-Houghton
2022-01-27 10:35:38 -05:00
parent 6fc8c6a2c0
commit 64c104b68d
2 changed files with 20 additions and 16 deletions

View File

@ -270,5 +270,6 @@ function mesecon.buttonlike_onrotate(pos, node, user, mode, new_param2)
minetest.swap_node(pos, node)
mesecon.on_placenode(pos, node)
mesecon.receiver_place(pos)
minetest.check_for_falling(pos)
return true
end