Skip to content

Commit 3e245b7

Browse files
committed
Fix updating of moment buckets
1 parent d8a6df5 commit 3e245b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Framework/OverwatchTranscript/MomentReferenceBuilder.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public OverwatchMomentReference[] Build(IFinalizedBucket[] finalizedBuckets)
2424
log.Debug($"Building references for {buckets.Count} buckets.");
2525
while (buckets.Any())
2626
{
27+
foreach (var b in buckets) b.Update();
28+
2729
buckets.RemoveAll(b => b.IsEmpty);
2830
if (!buckets.Any()) break;
2931

@@ -68,7 +70,6 @@ private List<BucketTop> CollectAllTopsForUtc(DateTime earliestUtc, List<IFinaliz
6870
{
6971
if (bucket.IsEmpty) continue;
7072

71-
bucket.Update();
7273
var utc = bucket.SeeTopUtc();
7374
if (utc == null) continue;
7475

0 commit comments

Comments
 (0)