feat(Core/Config): Improvements to config caching (#21647)
This commit is contained in:
parent
904ddc72cc
commit
fd262c3ab1
13 changed files with 1443 additions and 1555 deletions
|
|
@ -883,8 +883,9 @@ void WorldSession::HandlePlayerLoginFromDB(LoginQueryHolder const& holder)
|
|||
pCurrChar->SendCinematicStart(rEntry->CinematicSequence);
|
||||
|
||||
// send new char string if not empty
|
||||
if (!sWorld->GetNewCharString().empty())
|
||||
chH.PSendSysMessage("{}", sWorld->GetNewCharString());
|
||||
std::string_view newCharString = sWorld->getStringConfig(CONFIG_NEW_CHAR_STRING);
|
||||
if (!newCharString.empty())
|
||||
chH.PSendSysMessage("{}", newCharString);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue