mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
Fix bots in Oculus not using Drake Mount (#1613)
* Fix bots sometimes not using drake mount * change bot check --------- Co-authored-by: wetbrownsauce <you@example.com>
This commit is contained in:
@@ -66,7 +66,7 @@ bool MountDrakeAction::Execute(Event event)
|
|||||||
for (auto& member : members)
|
for (auto& member : members)
|
||||||
{
|
{
|
||||||
Player* player = botAI->GetPlayer(member);
|
Player* player = botAI->GetPlayer(member);
|
||||||
if (!player) { continue; }
|
if (!player->GetSession()->IsBot()) { continue; }
|
||||||
|
|
||||||
for (int i = 0; i < composition.size(); i++)
|
for (int i = 0; i < composition.size(); i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user