mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Changed default multiplier value
This commit is contained in:
parent
82704f042b
commit
45b840fa72
@ -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<unsigned int>(max(1, 60 / (getFrameRate() + 3))); /* Multiplier between 1 and 20 */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user