diff options
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r-- | source/game/StarPlayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp index 188a6a8..5ee46c4 100644 --- a/source/game/StarPlayer.cpp +++ b/source/game/StarPlayer.cpp @@ -945,7 +945,7 @@ void Player::update(float dt, uint64_t) { m_statusController->resetResource("breath"); } - m_log->addPlayTime(WorldTimestep); + m_log->addPlayTime(GlobalTimestep); if (m_ageItemsTimer.wrapTick(dt)) { auto itemDatabase = Root::singleton().itemDatabase(); @@ -970,7 +970,7 @@ void Player::update(float dt, uint64_t) { m_interestingObjects = m_questManager->interestingObjects(); } else { - m_netGroup.tickNetInterpolation(WorldTimestep); + m_netGroup.tickNetInterpolation(GlobalTimestep); m_movementController->tickSlave(dt); m_techController->tickSlave(dt); m_statusController->tickSlave(dt); |