From f77a850585bfdca47718e534c11703de4c0a51a6 Mon Sep 17 00:00:00 2001 From: notGreg Date: Sun, 3 Jul 2022 09:28:20 +0200 Subject: [PATCH] cleanup --- TarkovUniformAim/UniformAimPlugin.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/TarkovUniformAim/UniformAimPlugin.cs b/TarkovUniformAim/UniformAimPlugin.cs index 872a722..31c8a5e 100644 --- a/TarkovUniformAim/UniformAimPlugin.cs +++ b/TarkovUniformAim/UniformAimPlugin.cs @@ -42,12 +42,7 @@ namespace UniformAim { float resX = Convert.ToUInt16(Screen.width.ToString()); float resY = Convert.ToUInt16(Screen.height.ToString()); - //string screenWidth = Screen.width.ToString(); - //string screenHeight = Screen.height.ToString(); - //float resX = Convert.ToUInt16(screenWidth); - //float resY = Convert.ToUInt16(screenHeight); - //Logger.LogInfo("GetAspectRatio(): resX: " + resX + " resY: " + resY); return (resX / resY); } //calculate horizontal FOV based on vertical FOV, currently unused but could be useful in the future @@ -156,8 +151,7 @@ namespace UniformAim if (Camera.allCamerasCount > 1) { ScopeFOV = Camera.allCameras[1].fieldOfView; } //Figure out if the FPSCamera is zoomed in, prevents the script from ticking while the player is healing - //if(FPSCameraFOV < configFOV.Value) - if(FPSCameraFOV < 75) + if(FPSCameraFOV < configFOV.Value) { DetermineCurrentFOV(); //do not update sensitivity if currentFOV hasn't changed