mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Several crash fixes
This commit is contained in:
@@ -250,7 +250,7 @@ void PlayerbotAI::UpdateAI(uint32 elapsed, bool minimal)
|
||||
UpdateAIInternal(elapsed, min);
|
||||
|
||||
// test fix lags because of BG
|
||||
if (!bot->IsInCombat())
|
||||
if (bot && !bot->IsInCombat())
|
||||
min = true;
|
||||
|
||||
YieldThread(min);
|
||||
|
||||
Reference in New Issue
Block a user