Fix screenshake within options menu

This commit is contained in:
Atony committed 2026-05-31 09:17:26 -05:00
1 parent d2fafc3650
commit c59ed8eaa6
1 file changed
-6
@@ -41,12 +41,6 @@ public static class RoleSettingMenuPatches
{
HudManager.Instance.PlayerCam.OverrideScreenShakeEnabled = false;
}
[HarmonyPostfix]
[HarmonyPatch(nameof(RolesSettingsMenu.OnDisable))]
public static void ClosePatch(RolesSettingsMenu __instance)
{
HudManager.Instance.PlayerCam.OverrideScreenShakeEnabled = true;
}
[HarmonyPostfix]
[HarmonyPatch(nameof(RolesSettingsMenu.SetQuotaTab))]