9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00

Fix pregen speed issue

This commit is contained in:
Daniel Mills
2021-07-18 17:56:56 -04:00
parent c2de0dd613
commit d635705449
2 changed files with 2 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ public class Pregenerator implements Listener {
int up = m - w;
double dur = p.getMilliseconds();
perSecond.put((int) (up / (dur / 1000D)));
perSecond.put((int) (up / (dur / 60000D)));
perMinute.put((int) (up / (dur / 60000D)));
p.reset();
p.begin();
updateProgress();