Fix bug that caused the lowres to be saved to disk constantly

This commit is contained in:
Blue (Lukas Rieger) 2020-01-19 18:37:02 +01:00
parent 7fe60fa96d
commit 0436606f2a
1 changed files with 4 additions and 2 deletions

View File

@ -127,8 +127,10 @@ public class RenderManager {
RenderTask task = renderTasks.peek();
if (task != null) {
ticket = task.poll();
if (task.isFinished()) renderTasks.poll();
task.getMapType().getTileRenderer().save();
if (task.isFinished()) {
renderTasks.poll();
task.getMapType().getTileRenderer().save();
}
}
}
}