fix(Core/WorldSession) Allow automatic session DBC locale selection from available locales (#23706)

This commit is contained in:
trickerer
2025-11-24 19:13:28 +07:00
committed by GitHub
parent dc160d6378
commit 94b17227ec

View File

@@ -125,7 +125,7 @@ WorldSession::WorldSession(uint32 id, std::string&& name, uint32 accountFlags, s
m_playerLogout(false), m_playerLogout(false),
m_playerRecentlyLogout(false), m_playerRecentlyLogout(false),
m_playerSave(false), m_playerSave(false),
m_sessionDbcLocale(sWorld->GetDefaultDbcLocale()), m_sessionDbcLocale(sWorld->GetAvailableDbcLocale(locale)),
m_sessionDbLocaleIndex(locale), m_sessionDbLocaleIndex(locale),
m_latency(0), m_latency(0),
m_TutorialsChanged(false), m_TutorialsChanged(false),