Skip to content

Commit 9361a6d

Browse files
committed
Fixed build
1 parent faf99b8 commit 9361a6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/Battlegrounds/ArenaTeam.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ void ArenaTeamMember::ModifyPersonalRating(Player* player, int32 mod, uint32 typ
464464

465465
if (player)
466466
{
467-
player->SetArenaTeamInfoField(slot, ARENA_TEAM_PERSONAL_RATING, PersonalRating);
467+
player->SetArenaTeamInfoField(ArenaTeam::GetSlotByType(type), ARENA_TEAM_PERSONAL_RATING, PersonalRating);
468468
player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_PERSONAL_RATING, PersonalRating, type);
469469
}
470470
}

0 commit comments

Comments
 (0)