mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 11:29:48 +07:00
Fixed some Windows bugs
This commit is contained in:
parent
4d44fc3855
commit
3004e627cc
@ -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)){
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user