From 6a5fe599ad1203fb011f24c9bf29ed5875f72122 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Sun, 5 Apr 2026 03:25:09 -0500 Subject: [PATCH] Update dGame/dComponents/PropertyManagementComponent.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- dGame/dComponents/PropertyManagementComponent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dGame/dComponents/PropertyManagementComponent.cpp b/dGame/dComponents/PropertyManagementComponent.cpp index 6c17bc62..97a4d5bb 100644 --- a/dGame/dComponents/PropertyManagementComponent.cpp +++ b/dGame/dComponents/PropertyManagementComponent.cpp @@ -900,6 +900,10 @@ void PropertyManagementComponent::Update(float deltaTime) { // Check for day rollover const auto currentDate = GeneralUtils::GetCurrentUTCDate(); if (currentDate != m_CurrentDate) { + if (m_ReputationDirty) { + LOG_DEBUG("Saving dirty reputation data before daily rollover for property %llu", static_cast(propertyId)); + SaveReputation(); + } m_CurrentDate = currentDate; m_PlayerActivity.clear(); }