1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-03-14 12:54:28 +01:00

Fix the type checking

This commit is contained in:
Reece Dunham 2023-04-08 22:48:27 -04:00
parent 2016394041
commit 6998d2b3fb

@ -599,7 +599,7 @@ function saveEvents(
if (
!canGetAfterTimerOver.includes(event.Name) &&
session.timerEnd !== 0 &&
event.Timestamp > session.timerEnd
event.Timestamp > (session.timerEnd as number)
) {
// Do not handle events that occur after exiting the level
response.push(process.hrtime.bigint().toString())