Great cleanup
This commit is contained in:
@@ -77,7 +77,6 @@ public class Saves{
|
||||
}
|
||||
|
||||
public void update(){
|
||||
|
||||
if(current != null && state.isGame()
|
||||
&& !(state.isPaused() && Core.scene.hasDialog())){
|
||||
if(lastTimestamp != 0){
|
||||
@@ -93,8 +92,8 @@ public class Saves{
|
||||
|
||||
try{
|
||||
current.save();
|
||||
}catch(Throwable e){
|
||||
e.printStackTrace();
|
||||
}catch(Throwable t){
|
||||
Log.err(t);
|
||||
}
|
||||
|
||||
Time.runTask(3f, () -> saving = false);
|
||||
@@ -218,7 +217,7 @@ public class Saves{
|
||||
previewFile().writePNG(renderer.minimap.getPixmap());
|
||||
requestedPreview = false;
|
||||
}catch(Throwable t){
|
||||
t.printStackTrace();
|
||||
Log.err(t);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user