mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +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 (
|
||||
!allowRicochet &&
|
||||
!noDuplicateIntersections.some((intersection) => {
|
||||
intersection.object.userData.type === ArmorType.Primary;
|
||||
noDuplicateIntersections.every((intersection) => {
|
||||
intersection.object.userData.type !== ArmorType.Primary;
|
||||
})
|
||||
) {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user