mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Reset prioritized targets
This commit is contained in:
@@ -218,7 +218,7 @@ bool SummonAction::Teleport(Player* summoner, Player* player)
|
||||
{
|
||||
bot->ResurrectPlayer(1.0f, false);
|
||||
botAI->TellMasterNoFacing("I live, again!");
|
||||
botAI->GetAiObjectContext()->GetValue<GuidVector>("prioritized targets")->Set({});
|
||||
botAI->GetAiObjectContext()->GetValue<GuidVector>("prioritized targets")->Reset();
|
||||
}
|
||||
|
||||
player->GetMotionMaster()->Clear();
|
||||
|
||||
Reference in New Issue
Block a user