mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix not disabling vibration when intensity is 0
This commit is contained in:
parent
c9b070253c
commit
e10a98c245
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user