Skip to content

Commit

Permalink
Fix world conf not creating world.mt correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Mar 25, 2016
1 parent 183a195 commit 433c8f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.rubenwardy.minetestmodmanager"
minSdkVersion 9
targetSdkVersion 21
versionCode 3
versionName "1.1.1"
versionCode 4
versionName "1.2.0"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ public void onClick(DialogInterface dialog, int id) {
return;
}
}
conf.read(conf_file);
if (!conf.read(conf_file)) {
// Create configuration file
conf.set("gameid", "minetest");
conf.set("backend", "sqlite3");
}

Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
Expand Down

0 comments on commit 433c8f4

Please sign in to comment.