mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Crash fix: Bots inviting teleported players. (#1142)
This commit is contained in:
parent
917c96a281
commit
ad8c42d81b
@ -53,6 +53,9 @@ bool InviteNearbyToGroupAction::Execute(Event event)
|
|||||||
if (!player)
|
if (!player)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (!player->GetMapId() != bot->GetMapId())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (player->GetGroup())
|
if (player->GetGroup())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user