mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rename "mod metadata" to "mod storage" everywhere
This commit is contained in:
parent
8817af07fb
commit
7c21347a40
22 changed files with 480 additions and 474 deletions
|
@ -134,7 +134,7 @@ Client::Client(
|
|||
|
||||
// Make the mod storage database and begin the save for later
|
||||
m_mod_storage_database =
|
||||
new ModMetadataDatabaseSQLite3(porting::path_user + DIR_DELIM + "client");
|
||||
new ModStorageDatabaseSQLite3(porting::path_user + DIR_DELIM + "client");
|
||||
m_mod_storage_database->beginSave();
|
||||
|
||||
if (g_settings->getBool("enable_minimap")) {
|
||||
|
@ -151,7 +151,7 @@ void Client::migrateModStorage()
|
|||
if (fs::IsDir(old_mod_storage)) {
|
||||
infostream << "Migrating client mod storage to SQLite3 database" << std::endl;
|
||||
{
|
||||
ModMetadataDatabaseFiles files_db(mod_storage_dir);
|
||||
ModStorageDatabaseFiles files_db(mod_storage_dir);
|
||||
std::vector<std::string> mod_list;
|
||||
files_db.listMods(&mod_list);
|
||||
for (const std::string &modname : mod_list) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue