diff --git a/Utilities/CalamityUtils.cs b/Utilities/CalamityUtils.cs index 2038fb18e8..8987da7f46 100644 --- a/Utilities/CalamityUtils.cs +++ b/Utilities/CalamityUtils.cs @@ -2320,7 +2320,7 @@ namespace CalamityMod /// How long you want it to take to swap between colors public static Color ColorSwap(Color firstColor, Color secondColor, float seconds) { - double timeMult = (double)(MathHelper.PiOver2 / seconds); + double timeMult = (double)(MathHelper.TwoPi / seconds); float colorMePurple = (float)((Math.Sin(timeMult * Main.GlobalTime) + 1) * 0.5f); return Color.Lerp(firstColor, secondColor, colorMePurple); }