mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 00:32:35 -08:00
Fix TPS update comment
This commit is contained in:
1 parent
4bf797909b
commit
db05f2e9d9
1 file changed
+1
-1
@@ -44,7 +44,7 @@ class TrackerBasicBehaviour(private val settings: Settings) : TrackerBehaviour {
|
||||
is TrackerActions.SetStatus -> state.copy(status = action.status)
|
||||
|
||||
is TrackerActions.SetRotation -> {
|
||||
// This action counts as a tick towards TPS if it is new data and is new
|
||||
// This action counts as a tick towards TPS if it has new rotation data.
|
||||
if (action.newData && action.rotation != null) tpsCount.incrementAndFetch()
|
||||
|
||||
// Rotation
|
||||
|
||||
Reference in new issue
Block a user