mirror of
https://github.com/Sokomine/travelnet.git
synced 2024-08-20 05:24:18 +02: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