diff --git a/Synaction/Synaction.m b/Synaction/Synaction.m index 4eac56b..185c9de 100644 --- a/Synaction/Synaction.m +++ b/Synaction/Synaction.m @@ -126,6 +126,8 @@ - (void)askPeersToCalculateOffset:(NSArray * _Nonnull)peers { - (void)calculateTimeOffsetWithHost:(MCPeerID *)hostPeer { if (!isCalibrating) { isCalibrating = YES;// Used to track the calibration + self.hostTimeOffset = 0; + calculatedOffsets = 0;// Reset calculated offsets number totalCalculatedOffsets = 0;