diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index c8734fab4..15acab0ac 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -385,7 +385,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) { auto wnd = std::dynamic_pointer_cast(Ship::Context::GetInstance()->GetWindow()); if (wnd != nullptr) { - wnd->SetTargetFps(CVarGetInteger("gInterpolationFPS", 30)); + wnd->SetTargetFps(GetInterpolationFPS()); wnd->SetMaximumFrameLatency(1); } RunCommands(commands, mtx_replacements);