From 45b840fa72544d58395c898475f16298f51e3b99 Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Tue, 5 Dec 2023 09:24:13 +0100 Subject: [PATCH] Changed default multiplier value --- src/core/src/scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/src/scheduler.cpp b/src/core/src/scheduler.cpp index 5faec42c..7947dee0 100644 --- a/src/core/src/scheduler.cpp +++ b/src/core/src/scheduler.cpp @@ -58,7 +58,7 @@ void Scheduler::execute(lua_State* L) log("Command '" + commandString + "' executed correctly, current load " + to_string(getLoad())); /* Adjust the load depending on the fps */ - double fpsMultiplier = 1; + double fpsMultiplier = 20; if (getFrameRate() + 3 > 0) fpsMultiplier = static_cast(max(1, 60 / (getFrameRate() + 3))); /* Multiplier between 1 and 20 */