fix: remove shot when swithcing shells

This commit is contained in:
TrèsAbhi committed 2024-02-08 11:26:12 -06:00
1 parent 01e7353ef4
commit 1b9cf8b604
3 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ export function ShotDisplay() {
)}
mm
{layer.type === 'gap' && isExplosive(shell.type)
? ` (${Math.round(Math.min(100, 0.5 * layer.gap * 100))}% pen. loss)`
? ` (-${Math.round(Math.min(100, 0.5 * layer.gap * 100))}% penetration)`
: ''}
</Text>
</Flex>