diff --git a/HarmonyPatches/GlobalFPSCap.cs b/HarmonyPatches/GlobalFPSCap.cs index c5c6de6..ada658c 100644 --- a/HarmonyPatches/GlobalFPSCap.cs +++ b/HarmonyPatches/GlobalFPSCap.cs @@ -14,12 +14,12 @@ static class GlobalFPSCap { static bool isOculus = false; static bool isOculusUserPresent = false; - public static void Init() { + //public static void Init() { /* * On VRMode Oculus, when you take off the headset the game ends up in an uncapped FPS state, * this makes sure to apply an FPS cap when the headset is taken off */ - if(!OVRPlugin.initialized) + /*if(!OVRPlugin.initialized) return; isOculus = true; @@ -40,7 +40,7 @@ public static void Init() { System.Threading.Thread.Sleep(isOculusUserPresent ? 2000 : 500); } }); - } + }*/ public static XRDisplaySubsystem GetActiveVrDevice() { var xrDisplaySubsystems = new List(); diff --git a/Plugin.cs b/Plugin.cs index e0b7ada..8417dd3 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -67,7 +67,7 @@ public void OnApplicationStart() { harmony.PatchAll(Assembly.GetExecutingAssembly()); MovementScriptManager.LoadMovementScripts(); - GlobalFPSCap.Init(); + //GlobalFPSCap.Init(); SceneManager.activeSceneChanged += SceneUtil.OnActiveSceneChanged; diff --git a/manifest.json b/manifest.json index e2c22a9..44d48c9 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Camera2", "name": "Camera2", "author": "Kinsi55", - "version": "0.6.101", + "version": "0.6.102", "description": "If Camera Plus is so good, why is there no Camera Plus 2?", "gameVersion": "1.20.0", "dependsOn": {