Applied Benau's bugfix - thanks!

This commit is contained in:
hiker 2018-10-19 23:28:56 +11:00
parent c2c6652dd7
commit 8bb75803ab

View File

@ -255,7 +255,7 @@ BareNetworkString* NetworkItemManager::saveState(std::vector<std::string>* 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)
{