From 1005184adc0ba86373557560082e3013bcc9cfa3 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Tue, 10 Sep 2024 23:29:02 +0800 Subject: [PATCH] Fix prioritized targets reset --- src/PlayerbotAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index 460544c8..3ebbe5f7 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -682,7 +682,7 @@ void PlayerbotAI::Reset(bool full) aiObjectContext->GetValue("old target")->Set(nullptr); aiObjectContext->GetValue("current target")->Set(nullptr); - aiObjectContext->GetValue("prioritized targets")->Reset(); + aiObjectContext->GetValue("prioritized targets")->Reset(); aiObjectContext->GetValue("pull target")->Set(ObjectGuid::Empty); aiObjectContext->GetValue("rpg target")->Set(GuidPosition()); aiObjectContext->GetValue("loot target")->Set(LootObject());