Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix 'Unknown map backend' error when using Configure menu right after…
… creating world
  • Loading branch information
sfan5 committed Sep 9, 2013
1 parent f1e4a67 commit d423a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subgame.cpp
Expand Up @@ -242,7 +242,7 @@ bool initializeWorld(const std::string &path, const std::string &gameid)
infostream<<"Creating world.mt ("<<worldmt_path<<")"<<std::endl;
fs::CreateAllDirs(path);
std::ostringstream ss(std::ios_base::binary);
ss<<"gameid = "<<gameid<<"\nbackend = sqlite3";
ss<<"gameid = "<<gameid<<"\nbackend = sqlite3\n";
fs::safeWriteToFile(worldmt_path, ss.str());
}
return true;
Expand Down

0 comments on commit d423a8f

Please sign in to comment.