Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
svr2kos2 committed Aug 16, 2021
1 parent 5600109 commit 4e2c949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VRCHeartRate/VRCHeartRate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void RecvThreadFun()
string message = Encoding.UTF8.GetString(bytRecv, 0, bytRecv.Length);
var index = ParamLib.ParamLib.FindParam("HeartRate", VRCExpressionParameters.ValueType.Float);
if (index.Item1 != -1)
ParamLib.ParamLib.SetParameter(index.Item1, float.Parse(message) / 200.0f);
ParamLib.ParamLib.SetParameter(index.Item1, (float.Parse(message)+1) / 200.0f);
}
}

Expand Down

0 comments on commit 4e2c949

Please sign in to comment.