Skip to content

Commit

Permalink
fixme: Add note to prevent crash
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Dec 19, 2024
1 parent 3277026 commit 2be62f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/Collision/Colliders/CollisionJumpTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export const CollisionJumpTable = {
}
}

// FIXME temporary to prevent a crash, invalid separation
if (!separation.localSide || !separation.localAxis || !separation.axis) {
return [];
}
Expand Down

0 comments on commit 2be62f3

Please sign in to comment.