Skip to content

Commit

Permalink
Update bobzone_activemeasures.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
InvalidArgument3 committed Jul 2, 2024
1 parent d2d0679 commit 748fdbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public override void UpdateAfterSimulation()
double renderdistance = (matrix.Translation - MyAPIGateway.Session.Camera.Position).Length();

if(renderdistance < 20*radius)
MySimpleObjectDraw.DrawTransparentSphere(ref matrix, radius, ref color, MySimpleObjectRasterizer.Solid, 20, MyStringId.GetOrCompute("SafeZone_Texture_Disabled"), null, -1, -1, null, BlendTypeEnum.PostPP, 1);
MySimpleObjectDraw.DrawTransparentSphere(ref matrix, radius, ref color, MySimpleObjectRasterizer.Wireframe, 1, null, null, -1, -1, null, BlendTypeEnum.PostPP, 1);
//MySimpleObjectDraw.DrawTransparentSphere(ref matrix, radius.Value, ref drawColor, MySimpleObjectRasterizer.Solid, 35, shield_mat, null, -1, -1, null, BlendTypeEnum.PostPP, 1);

//if (renderdistance < radius)
Expand Down

0 comments on commit 748fdbb

Please sign in to comment.