Skip to content

Commit

Permalink
Merge pull request #363 from Piotrekol/spectatorEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrekol authored Nov 6, 2022
2 parents 8bc9417 + c4805cc commit e0dcb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/OsuMemoryEventSource/MemoryListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void Tick(List<StructuredOsuMemoryReader> clientReaders, bool sendEvents)
//"good enough" replay retry detection.
if (isReplay && _currentStatus == OsuMemoryStatus.Playing && _lastTime > currentTime && DateTime.UtcNow > _nextReplayRetryAllowedAt)
{
osuEventType = OsuEventType.PlayChange;
osuEventType = mapIdDiffers || mapHashDiffers || gameModeDiffers || modsDiffer ? OsuEventType.MapChange : OsuEventType.PlayChange;
_nextReplayRetryAllowedAt = DateTime.UtcNow.AddMilliseconds(500);
}

Expand Down

0 comments on commit e0dcb62

Please sign in to comment.