Skip to content

Commit

Permalink
Fixed Ciel voice page due to her costume not being available yet
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Aug 14, 2024
1 parent 86596c1 commit 1d0452f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/db/src/Descriptor/VoicePrefixDescriptor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let VoicePrefixDescriptor = (props: IProps) => {
.map((asc) => +asc[0]);
let costumeConds = Object.entries(voicePrefix.costume || {})
.filter(([_, prefix]) => prefix === currentVoicePrefix)
.map((costumeId) => costumes?.[costumeId[0]].shortName);
.map((costumeId) => costumes?.[costumeId[0]]?.shortName ?? costumeId[0]);
if (ascConds.length === 0 && costumeConds.length === 0) {
ascConds = [...Array(5).keys()];
}
Expand Down

0 comments on commit 1d0452f

Please sign in to comment.