mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-04-09 17:26:58 +00:00
Update dGame/dComponents/PropertyManagementComponent.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user