Fixed some Windows bugs

This commit is contained in:
Anuken 2018-01-04 15:38:00 -08:00
parent 4d44fc3855
commit 3004e627cc
2 changed files with 2 additions and 4 deletions

View File

@ -80,7 +80,7 @@ public class Control extends Module{
saves = new Saves();
Inputs.useControllers(false);
Inputs.useControllers(!Vars.gwt);
log("Total blocks loaded: " + Block.getAllBlocks().size);
@ -561,8 +561,6 @@ public class Control extends Module{
controly = Gdx.input.getY();
}
Gdx.input.setCursorCatched(controlling);
saves.update();
if(debug && GameState.is(State.playing)){

View File

@ -110,7 +110,7 @@ public class DesktopLauncher {
String result = Strings.parseException(e, true);
boolean failed = false;
String filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h:mm:ss").format(new Date()) + ".txt";
String filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h.mm.ss").format(new Date()) + ".txt";
try{
Files.write(Paths.get(filename), result.getBytes());