Update main.cpp

This commit is contained in:
Paul Coene
2020-08-19 14:57:21 -04:00
committed by GitHub
parent 7cc23fcbeb
commit b8586bf9cb
+4 -4
View File
@@ -326,7 +326,10 @@ int main(int argc, char** argv) {
LogInfo("Current hotfix in use: [{}]", hotfix_name.c_str());
}
}
LogInfo("Purging expired data buckets");
database.PurgeAllDeletedDataBuckets();
LogInfo("Loading zones");
world_store.LoadZones();
@@ -341,9 +344,6 @@ int main(int argc, char** argv) {
database.ClearInvSnapshots();
LogInfo("Loading items");
LogInfo("Purging player sold merchant items");
MerchantlistTempRepository::Truncate();
if (!content_db.LoadItems(hotfix_name)) {
LogError("Error: Could not load item data. But ignoring");
}