Update dGame/dComponents/PropertyManagementComponent.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Kimbrell
2026-04-05 03:24:37 -05:00
committed by GitHub
parent e2b534501c
commit bdb06b4706

View File

@@ -940,7 +940,7 @@ void PropertyManagementComponent::OnPlayerPositionUpdateHandler(Entity* player,
// Check velocity threshold (player must be active/moving)
if (update.velocity.SquaredLength() < m_RepVelocityThreshold * m_RepVelocityThreshold) return;
const auto playerId = player->GetObjectID();
const auto playerId = character->GetID();
auto& info = m_PlayerActivity[playerId];
// Check daily cap