diff --git a/src/server/match/match.ts b/src/server/match/match.ts index df6dc08..400cf87 100644 --- a/src/server/match/match.ts +++ b/src/server/match/match.ts @@ -308,6 +308,10 @@ export class Match { return 0; } + if (index === 0) { + return callback(frames[0]); + } + let lowerFrame = frames[index - 1]; let upperFrame = frames[index];