mirror of
https://github.com/Sokomine/travelnet.git
synced 2024-11-23 15:53:44 +01:00
set_look_yaw expects radiants...not degree...
This commit is contained in:
parent
2db79adbc9
commit
ae4a83d86e
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
|
||||
|
Loading…
Reference in New Issue
Block a user