From 31e510516dc501aa61058ce45ff074c1085fbcd8 Mon Sep 17 00:00:00 2001 From: Kyle Machulis Date: Sat, 13 Feb 2021 11:53:39 -0800 Subject: [PATCH] chore: Fix vibrator count So stroking devices work again. Oops. --- src/App.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.ts b/src/App.ts index afdf941..4661358 100644 --- a/src/App.ts +++ b/src/App.ts @@ -70,10 +70,9 @@ export default class App extends Vue { } private numVibrators(device: ButtplugClientDevice): number { - /* if (device || !device.messageAttributes(ButtplugDeviceMessageType.VibrateCmd) || !device.messageAttributes(ButtplugDeviceMessageType.VibrateCmd).featureCount) { return 0; - }*/ + } return device!.messageAttributes(ButtplugDeviceMessageType.VibrateCmd)!.featureCount!; } }