Bump up Custom control version

This commit is contained in:
SerpentSpirale 2021-08-08 11:17:25 +02:00 committed by ArtDev
parent 5813c1d90b
commit e0b2f90508

View File

@ -51,7 +51,7 @@ public class CustomControls {
this.mControlDataList.add(new ControlData(ctx, R.string.control_jump, new int[]{LWJGLGLFWKeycode.GLFW_KEY_SPACE}, "${right} - ${margin} * 2 - ${width}", "${bottom} - ${margin} * 2 - ${height}", true));
//The default controls are conform to the V2
version = 2;
version = 3;
}
public ControlData findControlData(int keycode) {
@ -67,7 +67,7 @@ public class CustomControls {
public void save(String path) throws IOException {
//Current version is the V2 so the version as to be marked as 2 !
version = 2;
version = 3;
Tools.write(path, Tools.GLOBAL_GSON.toJson(this));
}