mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-07 20:51:09 +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();
|
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 no instant logout, request normal logout
|
||||||
if (!logout)
|
if (!logout)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user