Skip to content

Commit

Permalink
Sync Lock: missed a conversion to "leader"
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwg committed Jul 20, 2021
1 parent 23942ee commit 805beb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/enginebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ void EngineBuffer::postProcess(const int iBufferSize) {
if (isLeader(mode)) {
m_pEngineSync->notifyBeatDistanceChanged(m_pSyncControl, beatDistance);
} else if (isFollower(mode)) {
// Report our speed to SyncControl. If we are master, we already did this.
// Report our speed to SyncControl. If we are leader, we already did this.
m_pSyncControl->reportPlayerSpeed(m_speed_old, m_scratching_old);
m_pSyncControl->updateTargetBeatDistance();
}
Expand Down

0 comments on commit 805beb7

Please sign in to comment.