mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add dummy and LevelDB database backends
This commit is contained in:
@@ -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<<"\n";
|
||||
ss<<"gameid = "<<gameid<<"\nbackend = sqlite3";
|
||||
fs::safeWriteToFile(worldmt_path, ss.str());
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user