fix load
This commit is contained in:
@@ -122,6 +122,7 @@
|
||||
#include "Lifecycle/BotSpawner.h"
|
||||
#include "Threading/BotActionManager.h"
|
||||
#endif
|
||||
#include <PerksProgramMgr.h>
|
||||
|
||||
TC_GAME_API std::atomic<bool> World::m_stopEvent(false);
|
||||
TC_GAME_API uint8 World::m_ExitCode = SHUTDOWN_EXIT_CODE;
|
||||
@@ -2131,8 +2132,19 @@ bool World::SetInitialWorldSettings()
|
||||
|
||||
TC_LOG_INFO("server.worldserver", "World initialized in {} minutes {} seconds", startupDuration / 60000, startupDuration % 60000 / 1000);
|
||||
|
||||
TC_LOG_INFO("server.loading", "Loading Perksprogram data...");
|
||||
sPerkProgramDataStore->Initialize();
|
||||
TC_LOG_INFO("server.loading", "Loading Perks Program vendor items...");
|
||||
sPerksProgramMgr->LoadVendorItems();
|
||||
|
||||
TC_LOG_INFO("server.loading", "Loading Perks Program monthly rotation...");
|
||||
sPerksProgramMgr->LoadMonthlyRotation();
|
||||
|
||||
TC_LOG_INFO("server.loading", "Loading Perks Program activity intervals...");
|
||||
sPerksProgramMgr->LoadActivityIntervals();
|
||||
sPerksProgramMgr->BuildCriteriaTreeMap();
|
||||
|
||||
TC_LOG_INFO("server.loading", "Loading Perks Program current activities...");
|
||||
sPerksProgramMgr->LoadCurrentActivities();
|
||||
|
||||
|
||||
TC_METRIC_EVENT("events", "World initialized", Trinity::StringFormat("World initialized in {} minutes {} seconds", startupDuration / 60000, startupDuration % 60000 / 1000));
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user