[Hotfix] Fix crash in SendEnterWorld (#4204)

This commit is contained in:
Chris Miles 2024-03-23 23:28:29 -05:00 committed by GitHub
parent 6a8bd3c5d6
commit 823a5956de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,7 +192,7 @@ bool Client::CanTradeFVNoDropItem()
void Client::SendEnterWorld(std::string name)
{
const std::string& live_name = database.GetLiveChar(GetAccountID());
const std::string live_name = database.GetLiveChar(GetAccountID());
if (is_player_zoning) {
if(database.GetAccountIDByChar(live_name) != GetAccountID()) {
eqs->Close();