Merge pull request #1020 from daslyfe/hotfix_now_calculation

hotfix for 1017
This commit is contained in:
Jade (Rose) Rowland 2024-03-25 01:02:01 -04:00 committed by GitHub
commit 2e8ae38d33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ export class NeoCyclist {
this.cps = 0.5;
this.lastTick = 0; // absolute time when last tick (clock callback) happened
this.getTime = getTime; // get absolute time
this.time_at_last_tick_message = 0;
this.num_cycles_at_cps_change = 0;
this.onToggle = onToggle;