Fix after rebase

This commit is contained in:
Tijmen Zwaan
2026-10-13 02:32:35 +02:00
parent 7e719c35f2
commit 276979f48a
+1 -1
View File
@@ -104,7 +104,7 @@ export class Cyclist {
// They'll be scheduled during the next tick.
return;
}
onSchedule?.(hap, targetTime, this.cps);
onSchedule?.(hap, targetTime, hap.value.cps ?? this.cps);
if (hap.value.cps !== undefined && this.cps != hap.value.cps) {
cpsChanged = true;
this.cps = hap.value.cps;