Another adjustment [skip ci]

This commit is contained in:
Akkadius 2020-04-18 19:52:56 -05:00
parent 74c878a481
commit df43a23d98
3 changed files with 9 additions and 5 deletions

View File

@ -275,9 +275,10 @@ public:
/* EQEmuLogSys */
void LoadLogSettings(EQEmuLogSys::LogSettings* log_settings);
private:
std::map<uint32,std::string> zonename_array;
private:
Mutex Mvarcache;
VarCache_Struct varcache;

View File

@ -327,9 +327,11 @@ int main(int argc, char** argv) {
database.PurgeAllDeletedDataBuckets();
LogInfo("Loading zones");
// Load to both context for now... this needs to be cleaned up and is not the right way to do this
database.LoadZoneNames();
// Load to both context for now... this needs to be cleaned up as this has always been cludgy
content_db.LoadZoneNames();
database.zonename_array = content_db.zonename_array;
LogInfo("Clearing groups");
database.ClearGroup();
LogInfo("Clearing raids");

View File

@ -313,9 +313,10 @@ int main(int argc, char** argv) {
}
LogInfo("Loading zone names");
// Load to both context for now... this needs to be cleaned up and is not the right way to do this
database.LoadZoneNames();
// Load to both context for now... this needs to be cleaned up as this has always been cludgy
content_db.LoadZoneNames();
database.zonename_array = content_db.zonename_array;
LogInfo("Loading items");
if (!database.LoadItems(hotfix_name)) {