63 {
64 super.OnInventoryExit(player);
65
66 if ( GetCompEM().IsWorking() )
67 {
68 if (player)
69 {
70 vector ori_rotate = player.GetOrientation();
71 ori_rotate = ori_rotate +
Vector(270,0,0);
72 SetOrientation(ori_rotate);
73 }
74 }
75 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.