mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-06-30 15:40:23 +02:00
Fix sqlite3 not being usable as backend
This commit is contained in:
@ -295,7 +295,7 @@ void TileGenerator::openDb(const std::string &input)
|
||||
if(m_backend == "sqlite3")
|
||||
m_db = new DBSQLite3(input);
|
||||
#if USE_LEVELDB
|
||||
if(m_backend == "leveldb")
|
||||
else if(m_backend == "leveldb")
|
||||
m_db = new DBLevelDB(input);
|
||||
#endif
|
||||
else
|
||||
|
Reference in New Issue
Block a user