diff --git a/src/modes/world.cpp b/src/modes/world.cpp index da1d9cd96..31a9a4715 100644 --- a/src/modes/world.cpp +++ b/src/modes/world.cpp @@ -1044,8 +1044,13 @@ void World::update(int ticks) PROFILER_POP_CPU_MARKER(); if(race_manager->isRecordingRace()) ReplayRecorder::get()->update(ticks); - Scripting::ScriptEngine *script_engine = Scripting::ScriptEngine::getInstance(); - if (script_engine) script_engine->update(ticks); + if (!RewindManager::get()->isRewinding()) + { + Scripting::ScriptEngine *script_engine = + Scripting::ScriptEngine::getInstance(); + if (script_engine) + script_engine->update(ticks); + } Physics::getInstance()->update(ticks);