From 823a5956defa09c7ca61981701044c65df748c2e Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Sat, 23 Mar 2024 23:28:29 -0500 Subject: [PATCH] [Hotfix] Fix crash in SendEnterWorld (#4204) --- world/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/client.cpp b/world/client.cpp index 4f42662e8..975f3c9e2 100644 --- a/world/client.cpp +++ b/world/client.cpp @@ -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();