mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
fix(Core/BG): store correct faction id (#10576)
This commit is contained in:
@@ -782,7 +782,7 @@ void Battleground::EndBattleground(TeamId winnerTeamId)
|
||||
|
||||
stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_PVPSTATS_BATTLEGROUND);
|
||||
stmt->SetData(0, battlegroundId);
|
||||
stmt->SetData(1, GetWinner());
|
||||
stmt->SetData(1, GetPvPTeamId(GetWinner()));
|
||||
stmt->SetData(2, GetUniqueBracketId());
|
||||
stmt->SetData(3, GetBgTypeID(true));
|
||||
CharacterDatabase.Execute(stmt);
|
||||
|
||||
Reference in New Issue
Block a user