mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01:00
Attempt to fix crash in playerbot logout
This commit is contained in:
parent
5c81a2d5e8
commit
297f11d3e5
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user