Core/Reputation: Fix ReputationMgr crash at first character login due to AllReputation config (#31246)

This commit is contained in:
thestrangerplana
2025-08-31 12:53:35 -07:00
committed by GitHub
parent 2a872d2cc2
commit 629d845ae9

View File

@@ -352,7 +352,7 @@ void ReputationMgr::SendState(FactionState const* faction)
{
state.needSend = false;
if (!faction || state.ReputationListID != faction->ReputationListID)
setFactionStanding.Faction.emplace_back(int32(state.ReputationListID), getStandingForPacket(&state), faction->ID);
setFactionStanding.Faction.emplace_back(int32(state.ReputationListID), getStandingForPacket(&state), state.ID);
}
}