Skip to content

Commit

Permalink
remove unnecessary rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
szaaamerik committed Jan 13, 2024
1 parent 2e2d80d commit 6e468d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Forza-Mods-AIO/Resources/UiManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void AddProgress()

Task.Run(() =>
{
var progress = Math.Round(100d / ScanAmount, 4) * Index;
var progress = 100d / ScanAmount * Index;
if (progress > 100)
{
progress = 100;
Expand Down

0 comments on commit 6e468d2

Please sign in to comment.