Beds, boats: Replace deprecated get_look_yaw/set_look_yaw
This commit is contained in:
parent
0ac096991c
commit
ea49eb3f3d
2 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ function boat.on_rightclick(self, clicker)
|
|||
minetest.after(0.2, function()
|
||||
default.player_set_animation(clicker, "sit" , 30)
|
||||
end)
|
||||
self.object:setyaw(clicker:get_look_yaw() - math.pi / 2)
|
||||
self.object:setyaw(clicker:get_look_horizontal() - math.pi / 2)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue