mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +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();
|
saves = new Saves();
|
||||||
|
|
||||||
Inputs.useControllers(false);
|
Inputs.useControllers(!Vars.gwt);
|
||||||
|
|
||||||
log("Total blocks loaded: " + Block.getAllBlocks().size);
|
log("Total blocks loaded: " + Block.getAllBlocks().size);
|
||||||
|
|
||||||
@ -561,8 +561,6 @@ public class Control extends Module{
|
|||||||
controly = Gdx.input.getY();
|
controly = Gdx.input.getY();
|
||||||
}
|
}
|
||||||
|
|
||||||
Gdx.input.setCursorCatched(controlling);
|
|
||||||
|
|
||||||
saves.update();
|
saves.update();
|
||||||
|
|
||||||
if(debug && GameState.is(State.playing)){
|
if(debug && GameState.is(State.playing)){
|
||||||
|
@ -110,7 +110,7 @@ public class DesktopLauncher {
|
|||||||
String result = Strings.parseException(e, true);
|
String result = Strings.parseException(e, true);
|
||||||
boolean failed = false;
|
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{
|
try{
|
||||||
Files.write(Paths.get(filename), result.getBytes());
|
Files.write(Paths.get(filename), result.getBytes());
|
||||||
|
Loading…
Reference in New Issue
Block a user