set_look_yaw expects radiants...not degree...

This commit is contained in:
Sokomine 2013-03-20 18:49:49 +01:00
parent 2db79adbc9
commit ae4a83d86e

@ -365,7 +365,7 @@ travelnet.on_receive_fields = function(pos, formname, fields, player)
yaw = 270;
end
player:set_look_yaw( yaw ); -- this is only supported in recent versions of MT
player:set_look_yaw( math.rad( yaw )); -- this is only supported in recent versions of MT
end
end