From 3f85e9b0e7250559c38ab9b5421d71564e9cfbd6 Mon Sep 17 00:00:00 2001 From: Glax Date: Wed, 6 Dec 2023 23:41:50 +0100 Subject: [PATCH] fix wrong comparison --- OSCCollar/OSCCollar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSCCollar/OSCCollar.cs b/OSCCollar/OSCCollar.cs index 5f7a198..99cdaeb 100644 --- a/OSCCollar/OSCCollar.cs +++ b/OSCCollar/OSCCollar.cs @@ -201,7 +201,7 @@ public class OSCCollar if (_leashStretch < _walkStretch) //Below Deadzone _movementVector = new(); - else if (_walkStretch < _runStretch) //Walk + else if (_leashStretch < _runStretch) //Walk _movementVector = _unitVectorLeash.MultipliedWith(0.5); else //Run _movementVector = _unitVectorLeash.MultipliedWith(1);