Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r--source/game/StarWorldClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp
index 1068c2b..489cc31 100644
--- a/source/game/StarWorldClient.cpp
+++ b/source/game/StarWorldClient.cpp
@@ -1437,7 +1437,7 @@ void WorldClient::queueUpdatePackets(bool sendEntityUpdates) {
auto assets = root.assets();
auto entityFactory = root.entityFactory();
- m_outgoingPackets.append(make_shared<StepUpdatePacket>(m_currentStep));
+ m_outgoingPackets.append(make_shared<StepUpdatePacket>(m_currentTime));
if (m_currentStep % m_clientConfig.getInt("worldClientStateUpdateDelta") == 0)
m_outgoingPackets.append(make_shared<WorldClientStateUpdatePacket>(m_clientState.writeDelta()));