mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix ricochets on external modules
This commit is contained in:
1 parent
dc6c528167
commit
a2b573abca
1 file changed
+4
-3
+4
-3
@@ -161,9 +161,10 @@ export function SpacedArmorSceneComponent({
|
||||
|
||||
if (
|
||||
!allowRicochet &&
|
||||
noDuplicateIntersections.every((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