Skip to content

Commit 16a1472

Browse files
committed
whoops a little logic error
1 parent 49d80b2 commit 16a1472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/world/actor/tick-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class TickQueue {
116116

117117
if (currentRemaining > 0) {
118118
remainingTicks = currentRemaining;
119-
startTick = currentTask.startTick;
119+
startTick = ticks;
120120
}
121121

122122
currentTask.reject('Task replaced');

0 commit comments

Comments
 (0)