buycount bugfix
This commit is contained in:
parent
c21d64e3e8
commit
35c74ee325
@ -102,7 +102,7 @@ function validVboxSelect(vbox, itemInfo, shopSelect, stashSelect) {
|
||||
const valid = selectedItems.every(c => {
|
||||
if (!combo.components.includes(c)) return false;
|
||||
if (itemCount[c] > comboCount[c]) return false;
|
||||
buyCount[c] -= itemCount[c];
|
||||
buyCount[c] -= 1;
|
||||
return true;
|
||||
});
|
||||
if (valid) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user