From 9362baac3e09210e4418b5153daabd3c282d6927 Mon Sep 17 00:00:00 2001 From: Eoghan Murray Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Reset the `lastPlayedEvent` as it would otherwise be used to discard events in machine.ts as follows: (#250) --- src/replay/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/replay/index.ts b/src/replay/index.ts index f0129b2f..571c4896 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -217,6 +217,7 @@ export class Replayer { */ public play(timeOffset = 0) { if (this.service.state.value === 'ended') { + this.service.state.context.lastPlayedEvent = null; this.service.send({ type: 'REPLAY' }); } if (this.service.state.value === 'paused') {