forked from luanti-org/minetest_game
		
	Beds, boats: Replace deprecated get_look_yaw/set_look_yaw
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user