mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Oops minor correction
This commit is contained in:
parent
d4a8c4abab
commit
7f64dc20c0
@ -227,10 +227,10 @@ public:
|
|||||||
Player* leader = group->GetLeader();
|
Player* leader = group->GetLeader();
|
||||||
if (leader != player)
|
if (leader != player)
|
||||||
{
|
{
|
||||||
if (!player->GetSession()->IsBot())
|
if (!leader->GetSession()->IsBot())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!sRandomPlayerbotMgr->IsRandomBot(player))
|
if (!sRandomPlayerbotMgr->IsRandomBot(leader))
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user