Skip to content

Commit

Permalink
Only display whole percentages
Browse files Browse the repository at this point in the history
  • Loading branch information
blowfishpro committed Jan 10, 2019
1 parent 1589e07 commit c2424cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModuleManager/MMPatchLoader.cs
Expand Up @@ -489,7 +489,7 @@ private void StatusUpdate(IPatchProgress progress, string activity = null)
{
status = "ModuleManager: " + progress.Counter.patchedNodes + " patch" + (progress.Counter.patchedNodes != 1 ? "es" : "") + " applied";
if (progress.ProgressFraction < 1f - float.Epsilon)
status += " (" + progress.ProgressFraction * 100 + "%)";
status += " (" + progress.ProgressFraction.ToString("P0") + ")";

if (activity != null)
status += "\n" + activity;
Expand Down

0 comments on commit c2424cb

Please sign in to comment.