We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2826cf commit b9e72c0Copy full SHA for b9e72c0
1 file changed
PluginBehavior.cs
@@ -97,9 +97,10 @@ private void Update()
97
}
98
99
LastFPSExecuteTime += Time.deltaTime;
100
- if (IMYSConfig.FPS > 60 && LastFPSExecuteTime >= WaitTime && Application.targetFrameRate < IMYSConfig.FPS)
+ if (IMYSConfig.FPS >= 30 && LastFPSExecuteTime >= WaitTime && Application.targetFrameRate < IMYSConfig.FPS)
101
{
102
LastFPSExecuteTime = 0.0f;
103
+ QualitySettings.vSyncCount = 0;
104
Application.targetFrameRate = IMYSConfig.FPS;
105
Plugin.Global.Log.LogInfo("FPS changed. Reset to: " + IMYSConfig.FPS);
106
0 commit comments