mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
Attempt to fix crash in playerbot logout
This commit is contained in:
@@ -254,6 +254,9 @@ void PlayerbotHolder::LogoutPlayerBot(ObjectGuid guid)
|
||||
target = botAI->GetAiObjectContext()->GetValue<TravelTarget*>("travel target")->Get();
|
||||
}
|
||||
|
||||
// Peiru: Allow bots to always instant logout to see if this resolves logout crashes
|
||||
logout = true;
|
||||
|
||||
// if no instant logout, request normal logout
|
||||
if (!logout)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user