projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e4a67
)
Fix 'Unknown map backend' error when using Configure menu right after creating world
author
Sfan5
<sfan5@live.de>
Mon, 9 Sep 2013 17:21:07 +0000
(19:21 +0200)
committer
Sfan5
<sfan5@live.de>
Mon, 9 Sep 2013 20:50:51 +0000
(22:50 +0200)
src/subgame.cpp
patch
|
blob
|
history
diff --git
a/src/subgame.cpp
b/src/subgame.cpp
index f2602856f99603fc8bd58acdf94f21a151752d48..95ae9ef9856ea9bc651c6a7842dac012dcb9df33 100644
(file)
--- 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;