mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08: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