This commit is contained in:
David Leal 2022-11-28 13:03:17 -06:00 committed by GitHub
parent b78b6dda43
commit d2722ed47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ function lib_mount.drive(entity, dtime, is_mob, moving_anim, stand_anim, jump_he
entity.object:set_yaw(entity.object:get_yaw()-get_sign(entity.v)*math.rad(1+dtime)*entity.turn_spd)
end
else
entity.object:set_yaw(entity.driver:get_look_yaw() + math.rad(90))
entity.object:set_yaw(entity.driver:get_look_horizontal() + math.rad(90))
end
if ctrl.jump then
if jump_height > 0 and velo.y == 0 then