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:
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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user