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

summaryrefslogtreecommitdiff
path: root/source/game/StarItemDrop.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-11 16:31:20 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-11 16:31:20 +1100
commitcaf7abebfe784a94fbc0e6b51e49cfeab91bf96a (patch)
tree6945d36901e5aaaae0b39950b759550a0f256a89 /source/game/StarItemDrop.cpp
parente6d2f5975bbe770b013dfe7ab470ac09fdffe6cf (diff)
change tickNetInterpolation calls to use dt value
Diffstat (limited to 'source/game/StarItemDrop.cpp')
-rw-r--r--source/game/StarItemDrop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarItemDrop.cpp b/source/game/StarItemDrop.cpp
index e7eec81..1df91f9 100644
--- a/source/game/StarItemDrop.cpp
+++ b/source/game/StarItemDrop.cpp
@@ -241,7 +241,7 @@ void ItemDrop::update(float dt, uint64_t) {
} else {
if (m_itemDescriptor.pullUpdated())
Root::singleton().itemDatabase()->loadItem(m_itemDescriptor.get(), m_item);
- m_netGroup.tickNetInterpolation(GlobalTimestep);
+ m_netGroup.tickNetInterpolation(dt);
if (m_owningEntity.get() != NullEntityId) {
if (!isMaster() && m_dropAge.elapsedTime() > 1.0f)
m_owningEntity.set(NullEntityId);