fix: oops

This commit is contained in:
TrèsAbhi authored and GitHub committed 2024-01-26 07:38:42 -06:00
1 parent 62cf1265f8
commit a0df425115
1 file changed
+1 -1
+1 -1
View File
@@ -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]);
}