combos info fix

This commit is contained in:
ntr
2019-05-27 16:51:45 +10:00
parent 223c5188dd
commit f3beb6c7ef
3 changed files with 7 additions and 3 deletions
+1 -2
View File
@@ -95,8 +95,6 @@ function Info(args) {
function Combos() {
if (!player) return false;
if (combiner.every(c => !c)) return false;
if (!(combiner.every(u => u === null))) {
const filteredCombos = itemInfo.combos
.filter(combo => combiner.every(u => u === null
@@ -115,6 +113,7 @@ function Info(args) {
</table>
);
}
const vboxCombos = itemInfo.combos.filter(c => c.components.includes(info));
if (vboxCombos.length > 6) return false;
return (