diff options
Diffstat (limited to 'source/game/StarVehicle.cpp')
-rw-r--r-- | source/game/StarVehicle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarVehicle.cpp b/source/game/StarVehicle.cpp index 89820b2..2b40417 100644 --- a/source/game/StarVehicle.cpp +++ b/source/game/StarVehicle.cpp @@ -273,7 +273,7 @@ void Vehicle::update(float dt, uint64_t) { m_scriptComponent.update(m_scriptComponent.updateDt(dt)); eraseWhere(m_aliveMasterConnections, [](auto& p) { - return p.second.tick(WorldTimestep); + return p.second.tick(GlobalTimestep); }); for (auto& loungePositionPair : m_loungePositions) { @@ -285,7 +285,7 @@ void Vehicle::update(float dt, uint64_t) { } } } else { - m_netGroup.tickNetInterpolation(WorldTimestep); + m_netGroup.tickNetInterpolation(GlobalTimestep); m_movementController.tickSlave(dt); |