We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6229a3 commit 7ba5c1cCopy full SHA for 7ba5c1c
core/src/com/amhsrobotics/circuitsim/files/FileManager.java
@@ -31,6 +31,9 @@ public static void save(String filename) {
31
appdata.setGridSize(Constants.WORLD_DIM);
32
appdata.setGridSpacing(Constants.GRID_SIZE);
33
34
+ if(!filename.contains(".tko")) {
35
+ filename += ".tko";
36
+ }
37
FileHandle file = Gdx.files.absolute(filename);
38
file.writeString(json.prettyPrint(appdata), false);
39
Gdx.graphics.setTitle("TKO 1351 Circuit Simulator - " + filename);
0 commit comments