From 939064476c3bb774afd12d108081296cb4dc07dd Mon Sep 17 00:00:00 2001 From: sitton76 <58642183+sitton76@users.noreply.github.com> Date: Tue, 20 May 2025 16:09:51 -0500 Subject: [PATCH] Fixed "Match Refresh Rate" option --- src/port/Engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);