Fix FixedPoint2.Abs multiplying the value by 100 (#28378)
This commit is contained in:
@@ -237,7 +237,7 @@ namespace Content.Shared.FixedPoint
|
||||
|
||||
public static FixedPoint2 Abs(FixedPoint2 a)
|
||||
{
|
||||
return FixedPoint2.New(Math.Abs(a.Value));
|
||||
return FromCents(Math.Abs(a.Value));
|
||||
}
|
||||
|
||||
public static FixedPoint2 Dist(FixedPoint2 a, FixedPoint2 b)
|
||||
|
||||
Reference in New Issue
Block a user