mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01: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:
parent
bf56154eee
commit
21d8f32d24
@ -66,7 +66,7 @@ bool MountDrakeAction::Execute(Event event)
|
||||
for (auto& member : members)
|
||||
{
|
||||
Player* player = botAI->GetPlayer(member);
|
||||
if (!player) { continue; }
|
||||
if (!player->GetSession()->IsBot()) { continue; }
|
||||
|
||||
for (int i = 0; i < composition.size(); i++)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user