mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-21 15:03:49 +01:00
Fix sqlite3 not being usable as backend
This commit is contained in:
parent
7e3e0a067c
commit
0a5a0d0d51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user