|
@@ -301,14 +301,14 @@ int do_init( int argc, char** argv ){
|
|
|
}
|
|
|
|
|
|
item_txt_data(path_db_mode, path_db);
|
|
|
- if (!process("ITEM_DB", 2, { path_db_mode }, "item_db", [](const std::string& path, const std::string& name_ext) -> bool {
|
|
|
+ if (!process("ITEM_DB", 3, { path_db_mode }, "item_db", [](const std::string& path, const std::string& name_ext) -> bool {
|
|
|
return itemdb_read_db((path + name_ext).c_str());
|
|
|
})) {
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
item_txt_data(path_db_import, path_db_import);
|
|
|
- if (!process("ITEM_DB", 2, { path_db_import }, "item_db", [](const std::string& path, const std::string& name_ext) -> bool {
|
|
|
+ if (!process("ITEM_DB", 3, { path_db_import }, "item_db", [](const std::string& path, const std::string& name_ext) -> bool {
|
|
|
return itemdb_read_db((path + name_ext).c_str());
|
|
|
})) {
|
|
|
return 0;
|