96 {
97 super.OnInventoryExit(player);
98
99 if ( GetCompEM().IsWorking() )
100 {
101 if (player)
102 {
103 vector ori_rotate = player.GetOrientation();
104 ori_rotate = ori_rotate +
Vector(270,0,0);
105 SetOrientation(ori_rotate);
106 }
107 }
108 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.