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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldClient.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-18 22:09:48 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-18 22:09:48 +1100
commit5a48b0383ae3eccf1ea402a438822cd3e61539bc (patch)
treec43b4a6e612f15bd4415f295e8aa7904b4c5efee /source/game/StarWorldClient.cpp
parent647cd45dd5f1594d17bad1ba940796b44403712a (diff)
fix StepUpdate typos (oops)
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()));