fix: he no block on core

This commit is contained in:
TrèsAbhi committed 2024-06-05 13:14:08 -05:00
1 parent 10c810b228
commit 331f57e7b0
2 files changed
+2 -1

No files matched your search

@@ -41,6 +41,7 @@ export function Results({ compact, results, onSelect }: ResultsProps) {
{!compact && {!compact &&
results.map((tank) => ( results.map((tank) => (
<Link <Link
key={tank.id}
className={styles.listing} className={styles.listing}
href={`/tools/tankopedia/${tank.id}`} href={`/tools/tankopedia/${tank.id}`}
style={{ style={{
@@ -227,7 +227,7 @@ export function SpacedArmorSceneComponent({
point: intersection.point, point: intersection.point,
surfaceNormal: intersection.face!.normal, surfaceNormal: intersection.face!.normal,
status: status:
shell.type === ShellType.HE shell.type === ShellType.HE && layer.type !== ArmorType.Core
? 'blocked' ? 'blocked'
: blocked : blocked
? 'blocked' ? 'blocked'