From e22cf425cfd92fe3f64db737bdfc4a0056cc6725 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 5 Oct 2026 12:34:10 +0000 Subject: [PATCH] Remove MathHelper.TwoPi (#46330) Getting removed in Angle PR as the dotnet constants are better to use. --- Content.Server/Solar/EntitySystems/PowerSolarSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs b/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs index c7aff7e25a..abe5058fc4 100644 --- a/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs +++ b/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs @@ -82,7 +82,7 @@ namespace Content.Server.Solar.EntitySystems private void RandomizeSun() { // Initialize the sun to something random - TowardsSun = MathHelper.TwoPi * _robustRandom.NextDouble(); + TowardsSun = Math.Tau * _robustRandom.NextDouble(); SunAngularVelocity = Angle.FromDegrees(0.1 + ((_robustRandom.NextDouble() - 0.5) * 0.05)); }