From 7f64dc20c04dc44b5dbfce1cfebd7880ec124a66 Mon Sep 17 00:00:00 2001 From: bash <31279994+hermensbas@users.noreply.github.com> Date: Sat, 2 Aug 2025 19:08:59 +0200 Subject: [PATCH] Oops minor correction --- src/Playerbots.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Playerbots.cpp b/src/Playerbots.cpp index ca92711c..42acba60 100644 --- a/src/Playerbots.cpp +++ b/src/Playerbots.cpp @@ -227,10 +227,10 @@ public: Player* leader = group->GetLeader(); if (leader != player) { - if (!player->GetSession()->IsBot()) + if (!leader->GetSession()->IsBot()) return; - if (!sRandomPlayerbotMgr->IsRandomBot(player)) + if (!sRandomPlayerbotMgr->IsRandomBot(leader)) return; } }