fix ricochets on external modules

This commit is contained in:
Mark Greene committed 2026-07-10 17:51:32 +12:00
1 parent dc6c528167
commit a2b573abca
1 file changed
+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;
}