From ae4a83d86ef3cdcd91f0549883df0daf3cef0995 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Wed, 20 Mar 2013 18:49:49 +0100 Subject: [PATCH] set_look_yaw expects radiants...not degree... --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index c61cecf..d856e83 100644 --- a/init.lua +++ b/init.lua @@ -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