mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 16:35:46 +00:00
Fix school being purchasable beyond its purchase limit
This commit is contained in:
parent
55d7a60171
commit
943500732d
1 changed files with 2 additions and 1 deletions
|
@ -1354,7 +1354,8 @@ const layer = createLayer(id, () => {
|
|||
schoolCost.value.plastic.lte(plastic.plastic.value) &&
|
||||
schoolCost.value.dye.lte(dyes.dyes.blue.amount.value) &&
|
||||
schoolCost.value.dye.lte(dyes.dyes.red.amount.value) &&
|
||||
schoolCost.value.dye.lte(dyes.dyes.yellow.amount.value)
|
||||
schoolCost.value.dye.lte(dyes.dyes.yellow.amount.value) &&
|
||||
Decimal.lt(schools.amount.value, unref(schools.purchaseLimit))
|
||||
);
|
||||
},
|
||||
onPurchase() {
|
||||
|
|
Loading…
Reference in a new issue