mirror of
https://github.com/Sokomine/travelnet.git
synced 2024-09-12 08:18:33 +02:00
yaw
This commit is contained in:
parent
296f0bafda
commit
2db79adbc9
3
init.lua
3
init.lua
@ -353,7 +353,8 @@ travelnet.on_receive_fields = function(pos, formname, fields, player)
|
|||||||
else
|
else
|
||||||
|
|
||||||
-- rotate the player so that he/she can walk straight out of the box
|
-- rotate the player so that he/she can walk straight out of the box
|
||||||
local yaw = 0;
|
local yaw = 0;
|
||||||
|
local param2 = node2.param2;
|
||||||
if( param2==0 ) then
|
if( param2==0 ) then
|
||||||
yaw = 180;
|
yaw = 180;
|
||||||
elseif( param2==1 ) then
|
elseif( param2==1 ) then
|
||||||
|
Loading…
Reference in New Issue
Block a user