aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/subgame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subgame.cpp b/src/subgame.cpp
index f2602856f..95ae9ef98 100644
--- a/src/subgame.cpp
+++ b/src/subgame.cpp
@@ -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;