From 26c318fb8dfb291d6c501d741d0c73168d7cac24 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Tue, 30 Apr 2024 18:24:58 +0700 Subject: [PATCH] Format code --- src/modules/patcher.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/patcher.ts b/src/modules/patcher.ts index d524625..8305f83 100644 --- a/src/modules/patcher.ts +++ b/src/modules/patcher.ts @@ -177,13 +177,13 @@ const PATCHES = { const newCode = ` if (!window.BX_ENABLE_CONTROLLER_VIBRATION) { -return void(0); + return void(0); } if (window.BX_VIBRATION_INTENSITY && window.BX_VIBRATION_INTENSITY < 1) { -e.leftMotorPercent = e.leftMotorPercent * window.BX_VIBRATION_INTENSITY; -e.rightMotorPercent = e.rightMotorPercent * window.BX_VIBRATION_INTENSITY; -e.leftTriggerMotorPercent = e.leftTriggerMotorPercent * window.BX_VIBRATION_INTENSITY; -e.rightTriggerMotorPercent = e.rightTriggerMotorPercent * window.BX_VIBRATION_INTENSITY; + e.leftMotorPercent = e.leftMotorPercent * window.BX_VIBRATION_INTENSITY; + e.rightMotorPercent = e.rightMotorPercent * window.BX_VIBRATION_INTENSITY; + e.leftTriggerMotorPercent = e.leftTriggerMotorPercent * window.BX_VIBRATION_INTENSITY; + e.rightTriggerMotorPercent = e.rightTriggerMotorPercent * window.BX_VIBRATION_INTENSITY; } `;