diff --git a/ForgeUnity/Assets/BeardedManStudios/Scripts/Networking/BeardedMath.cs b/ForgeUnity/Assets/BeardedManStudios/Scripts/Networking/BeardedMath.cs index 158b6639..78d5702c 100644 --- a/ForgeUnity/Assets/BeardedManStudios/Scripts/Networking/BeardedMath.cs +++ b/ForgeUnity/Assets/BeardedManStudios/Scripts/Networking/BeardedMath.cs @@ -1,4 +1,4 @@ -namespace BeardedManStudios +namespace BeardedManStudios { /// /// A class that is to be extended to support math models that are not currently available in any @@ -21,7 +21,7 @@ public static double Lerp(double a0, double a1, float t) public static T Lerp(T a0, T a1, float t) { - return a0; + return t == 0f ? a0 : a1; } ///