diff --git a/src/hooks/useAppliedEquipments.ts b/src/hooks/useAppliedEquipments.ts index 0342cfe9a..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]] == 1 ? 1 : 0); + return preset.flat().map((options, index) => options[flatMatrix[index] == 1 ? 1 : 0]); }