bits check on combine
This commit is contained in:
parent
9ee1c166f3
commit
19072926e6
@ -355,7 +355,7 @@ class Vbox extends preact.Component {
|
|||||||
text = bits
|
text = bits
|
||||||
? `Buy ${comboItem} - ${bits}b`
|
? `Buy ${comboItem} - ${bits}b`
|
||||||
: `Combine - ${comboItem}`;
|
: `Combine - ${comboItem}`;
|
||||||
mouseEvent = sendVboxCombine;
|
if (vbox.bits >= bits) mouseEvent = sendVboxCombine;
|
||||||
} else if (stashSelect.length === 0 && shopSelect.length === 1) {
|
} else if (stashSelect.length === 0 && shopSelect.length === 1) {
|
||||||
const item = shopSelect[0];
|
const item = shopSelect[0];
|
||||||
text = `Buy ${vbox.free[item[0]][item[1]]} ${item[0] + 1}b`;
|
text = `Buy ${vbox.free[item[0]][item[1]]} ${item[0] + 1}b`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user