Skip to content

Commit

Permalink
Possible crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Aug 11, 2023
1 parent 978c96c commit d0dca01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/strategy/triggers/GenericTriggers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bool PanicTrigger::IsActive()
bool OutNumberedTrigger::IsActive()
{
// Don't trigger if the bot is a dungeon or raid
if (!bot->IsInWorld() || bot->GetMap()->IsDungeon() || bot->GetMap()->IsRaid())
if (!bot->IsInWorld() || bot->IsBeingTeleported() || bot->GetMap()->IsDungeon() || bot->GetMap()->IsRaid())
return false;

// Don't trigger if the bot is in a raid group
Expand Down

0 comments on commit d0dca01

Please sign in to comment.