mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 05:07:23 +09:00
Reorder increment to make progress update less weird
This commit is contained in:
parent
bb17b684b0
commit
3f63fd7f4d
@ -51,12 +51,12 @@ namespace osu.Game.Database
|
|||||||
writer.Write(file.Filename, stream);
|
writer.Write(file.Filename, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i++;
|
||||||
|
|
||||||
if (notification != null)
|
if (notification != null)
|
||||||
{
|
{
|
||||||
notification.Progress = (float)(i + 1) / fileCount;
|
notification.Progress = (float)i / fileCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
i++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (anyFileMissing)
|
if (anyFileMissing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user