From 8bb75803ab4deb526ada42d6c95119f0eaa18499 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 19 Oct 2018 23:28:56 +1100 Subject: [PATCH] Applied Benau's bugfix - thanks! --- src/items/network_item_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/network_item_manager.cpp b/src/items/network_item_manager.cpp index 1d99a03e0..6ce977ce8 100644 --- a/src/items/network_item_manager.cpp +++ b/src/items/network_item_manager.cpp @@ -255,7 +255,7 @@ BareNetworkString* NetworkItemManager::saveState(std::vector* ru) void NetworkItemManager::forwardTime(int ticks) { int new_ticks = World::getWorld()->getTicksSinceStart() + ticks; - World::getWorld()->setTicks(new_ticks); + World::getWorld()->setTicksForRewind(new_ticks); for(auto &i : m_confirmed_state) {