mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
Merge branch '1.16.0' of https://github.com/tresabhi/blitzkrieg into 1.16.0
This commit is contained in:
commit
94cf7ebea8
1 file changed
+1
-1
@@ -6,5 +6,5 @@ export function useAppliedEquipments(
|
|||||||
preset: EquipmentPreset,
|
preset: EquipmentPreset,
|
||||||
) {
|
) {
|
||||||
const flatMatrix = matrix.flat();
|
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]);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user