Update StarWorldServer.cpp

This commit is contained in:
Kae 2024-03-17 17:37:32 +11:00
parent 9dc1eb7312
commit 758a900e51

View File

@ -567,6 +567,7 @@ void WorldServer::setExpiryTime(float expiryTime) {
void WorldServer::update(float dt) { void WorldServer::update(float dt) {
m_currentTime += dt; m_currentTime += dt;
++m_currentStep;
for (auto const& pair : m_clientInfo) for (auto const& pair : m_clientInfo)
pair.second->interpolationTracker.update(m_currentTime); pair.second->interpolationTracker.update(m_currentTime);