mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-02 11:26:46 +02:00
Fix not disabling vibration when intensity is 0
This commit is contained in:
@@ -3,7 +3,7 @@ if (!window.BX_ENABLE_CONTROLLER_VIBRATION) {
|
||||
}
|
||||
|
||||
const intensity = window.BX_VIBRATION_INTENSITY;
|
||||
if (intensity && intensity < 1) {
|
||||
if (intensity < 1) {
|
||||
e.leftMotorPercent *= intensity;
|
||||
e.rightMotorPercent *= intensity;
|
||||
e.leftTriggerMotorPercent *= intensity;
|
||||
|
Reference in New Issue
Block a user