Crash fix: Bots inviting teleported players. (#1142)

This commit is contained in:
EricksOliveira 2025-03-29 06:57:24 -03:00 committed by GitHub
parent 917c96a281
commit ad8c42d81b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,9 @@ bool InviteNearbyToGroupAction::Execute(Event event)
if (!player)
continue;
if (!player->GetMapId() != bot->GetMapId())
continue;
if (player->GetGroup())
continue;