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:
Vanna White
2025-09-06 08:14:52 -06:00
committed by GitHub
parent bf56154eee
commit 21d8f32d24

View File

@@ -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++)
{ {