fix: 1 extra crew members

This commit is contained in:
TrèsAbhi committed 2024-10-24 15:43:06 -05:00
1 parent 28de3a0283
commit 670debbe26
2 files changed
+2 -4

No files matched your search

@@ -814,7 +814,7 @@ export async function definitions() {
if (crewKey === '#text') return;
entry = {
type: blitzCrewTypeToBlitzkit[crewKey as BlitzCrewType],
count: 1,
count: 0,
substitute: [],
};
crew.push(entry);
@@ -454,14 +454,12 @@ export function Characteristics() {
</Flex>
{tank.crew.map((member) => {
const count = member.count ?? 1;
return (
<Fragment key={member.type}>
<InfoWithDelta
key={`${member.type}-root`}
name={`${CREW_MEMBER_NAMES[member.type]}${
count > 1 ? ` x ${count}` : ''
member.count > 1 ? ` x ${member.count}` : ''
}`}
unit="%"
decimals={0}