mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: post ricochet penetration
This commit is contained in:
1 parent
ea7d822420
commit
9d346082ea
1 file changed
+2
-2
@@ -140,8 +140,8 @@ export function SpacedArmorSceneComponent({
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
!allowRicochet &&
|
!allowRicochet &&
|
||||||
!noDuplicateIntersections.some((intersection) => {
|
noDuplicateIntersections.every((intersection) => {
|
||||||
intersection.object.userData.type === ArmorType.Primary;
|
intersection.object.userData.type !== ArmorType.Primary;
|
||||||
})
|
})
|
||||||
) {
|
) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in new issue
Block a user