renamed function name

This commit is contained in:
bash
2025-10-06 21:07:43 +02:00
parent 780f6d60e0
commit cf4f0f6dc7
5 changed files with 10 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ bool LeaveGroupAction::Leave(Player* player)
bool shouldStay = randomBot && bot->GetGroup() && player == bot;
if (!shouldStay)
{
botAI->RemoveFromGroup();
botAI->LeaveOrDisbandGroup();
}
if (randomBot)