Disabled resolution scaling while using non-scopes.

This commit is contained in:
notGreg 2023-06-02 17:37:42 +02:00
parent 30cde1fcd3
commit d3e7f2414a

View File

@ -69,7 +69,7 @@ namespace ScopeTweaks
mainPlayer.RibcageScaleCurrent = 1.0f;
mainPlayer.RibcageScaleCurrentTarget = 1.0f;
if (peripheralResolutionScale.Value != 100)
if (peripheralResolutionScale.Value != 100 && mainPlayer.ProceduralWeaponAnimation.CurrentScope.IsOptic)
{
ssaaImplInstance.Switch(peripheralResolutionScale.Value / 100.0f);
}