diff --git a/src/hooks/useAppliedEquipments.ts b/src/hooks/useAppliedEquipments.ts index a65059b76..1f9d869df 100644 --- a/src/hooks/useAppliedEquipments.ts +++ b/src/hooks/useAppliedEquipments.ts @@ -6,5 +6,5 @@ export function useAppliedEquipments( preset: EquipmentPreset, ) { const flatMatrix = matrix.flat(); - return preset.flat().map((options, index) => options[flatMatrix[index]]); + return preset.flat().map((options, index) => options[flatMatrix[index] == 1 ? 1 : 0]); }