Skip to content

Commit d423a8f

Browse files
committedSep 9, 2013
Fix 'Unknown map backend' error when using Configure menu right after creating world
1 parent f1e4a67 commit d423a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/subgame.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ bool initializeWorld(const std::string &path, const std::string &gameid)
242242
infostream<<"Creating world.mt ("<<worldmt_path<<")"<<std::endl;
243243
fs::CreateAllDirs(path);
244244
std::ostringstream ss(std::ios_base::binary);
245-
ss<<"gameid = "<<gameid<<"\nbackend = sqlite3";
245+
ss<<"gameid = "<<gameid<<"\nbackend = sqlite3\n";
246246
fs::safeWriteToFile(worldmt_path, ss.str());
247247
}
248248
return true;

0 commit comments

Comments
 (0)
Please sign in to comment.