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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,6 +327,9 @@ int main(int argc, char** argv) {
} }
} }
LogInfo("Purging expired data buckets");
database.PurgeAllDeletedDataBuckets();
LogInfo("Loading zones"); LogInfo("Loading zones");
world_store.LoadZones(); world_store.LoadZones();
@ -341,9 +344,6 @@ int main(int argc, char** argv) {
database.ClearInvSnapshots(); database.ClearInvSnapshots();
LogInfo("Loading items"); LogInfo("Loading items");
LogInfo("Purging player sold merchant items");
MerchantlistTempRepository::Truncate();
if (!content_db.LoadItems(hotfix_name)) { if (!content_db.LoadItems(hotfix_name)) {
LogError("Error: Could not load item data. But ignoring"); LogError("Error: Could not load item data. But ignoring");
} }