mirror of
https://github.com/Sokomine/travelnet.git
synced 2025-04-04 16:41:27 +02:00
set_look_yaw expects radiants...not degree...
This commit is contained in:
2
init.lua
2
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
|
||||
|
Reference in New Issue
Block a user