Skip to content

Commit

Permalink
fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
exch-bms2 committed Aug 11, 2018
1 parent 1c32210 commit f158990
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/bms/player/beatoraja/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,19 @@ public class Config implements Validatable {
private boolean showpastnote = false;

private String songpath = SONGPATH_DEFAULT;
public static final String SONGPATH_DEFAULT = "./songdata.db";
public static final String SONGPATH_DEFAULT = "songdata.db";

private String songinfopath = SONGINFOPATH_DEFAULT;
public static final String SONGINFOPATH_DEFAULT = "./songinfo.db";
public static final String SONGINFOPATH_DEFAULT = "songinfo.db";

private String tablepath = TABLEPATH_DEFAULT;
public static final String TABLEPATH_DEFAULT = "./table";
public static final String TABLEPATH_DEFAULT = "table";

private String playerpath = "./player";
public static final String PLAYERPATH_DEFAULT = "./player";
private String playerpath = PLAYERPATH_DEFAULT;
public static final String PLAYERPATH_DEFAULT = "player";

private String skinpath = "./skin";
public static final String SKINPATH_DEFAULT = "./skin";
private String skinpath = SKINPATH_DEFAULT;
public static final String SKINPATH_DEFAULT = "skin";

private String bgmpath = "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ public void update(Config config) {
autosavereplay3.getSelectionModel().select(config.getAutoSaveReplay()[2]);
autosavereplay4.getSelectionModel().select(config.getAutoSaveReplay()[3]);

skinController.update(config);
// int b = Boolean.valueOf(config.getJKOC()).compareTo(false);

usecim.setSelected(config.isCacheSkinImage());
Expand Down Expand Up @@ -487,7 +488,6 @@ public void update(Config config) {
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
skinController.update(config);
}

public void changePlayer() {
Expand Down

0 comments on commit f158990

Please sign in to comment.