From 7b44745c673150b463787f2afe1b352969cce949 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Sat, 20 Apr 2024 21:07:37 -0400 Subject: [PATCH] [Bug Fix] Fix Issue With Auto Login (#4267) --- world/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/client.cpp b/world/client.cpp index 84cc158da..60962bc84 100644 --- a/world/client.cpp +++ b/world/client.cpp @@ -205,7 +205,7 @@ void Client::SendEnterWorld(std::string name) LogInfo("Zoning with live_name [{}] account_id [{}]", live_name, GetAccountID()); } - if (RuleB(World, EnableAutoLogin)) { + if (!is_player_zoning && RuleB(World, EnableAutoLogin)) { live_name = AccountRepository::GetAutoLoginCharacterNameByAccountID(database, GetAccountID()); LogInfo("Attempting to auto login with live_name [{}] account_id [{}]", live_name, GetAccountID()); }