Skip to content

Commit

Permalink
fixed tick interval dispatch function
Browse files Browse the repository at this point in the history
  • Loading branch information
vytdev committed Jun 17, 2024
1 parent 3310d81 commit 6713f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catalyst/core/tick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ system.runInterval(() => {

// tick interval
for (const handle of [...intervals]) {
if (handle.time % tickCounter != 0)
if (tickCounter % handle.time != 0)
continue;

try {
Expand Down

0 comments on commit 6713f4d

Please sign in to comment.