fix: post ricochet penetration

This commit is contained in:
TrèsAbhi committed 2024-08-13 19:48:47 -05:00
1 parent ea7d822420
commit 9d346082ea
1 file changed
+2 -2
@@ -140,8 +140,8 @@ export function SpacedArmorSceneComponent({
if (
!allowRicochet &&
!noDuplicateIntersections.some((intersection) => {
intersection.object.userData.type === ArmorType.Primary;
noDuplicateIntersections.every((intersection) => {
intersection.object.userData.type !== ArmorType.Primary;
})
) {
return null;