mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-04-09 17:26:58 +00:00
fix: use Character::GetID() in SetReputation to match DB schema key
Agent-Logs-Url: https://github.com/DarkflameUniverse/DarkflameServer/sessions/4cb00fe2-a85e-45f6-95c7-1ac972e244bc Co-authored-by: aronwk-aaron <26027722+aronwk-aaron@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7cb34ffca2
commit
b058526e76
@@ -251,7 +251,7 @@ void CharacterComponent::SetPvpEnabled(const bool value) {
|
||||
|
||||
void CharacterComponent::SetReputation(int64_t newValue) {
|
||||
m_Reputation = newValue;
|
||||
Database::Get()->SetCharacterReputation(m_Character->GetObjectID(), m_Reputation);
|
||||
Database::Get()->SetCharacterReputation(m_Character->GetID(), m_Reputation);
|
||||
GameMessages::SendUpdateReputation(m_Parent->GetObjectID(), m_Reputation, m_Parent->GetSystemAddress());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user