[Hot Fix] Fix Group::AddToGroup (#4201)

# Notes
- We were not using `r` values at any point.
This commit is contained in:
Alex King 2024-03-23 19:49:15 -04:00 committed by GitHub
parent 21cec87ac4
commit b400700d81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2537,9 +2537,9 @@ void Group::AddToGroup(Mob* m)
void Group::AddToGroup(AddToGroupRequest r)
{
uint32 bot_id = 0;
uint32 character_id = 0;
uint32 character_id = r.character_id;
uint32 merc_id = 0;
std::string name = "";
std::string name = r.name;
if (r.mob) {
if (r.mob->IsBot()) {