mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
Bugfix - prevented kilns from spending small fires
This commit is contained in:
parent
926963e697
commit
e458a06ef2
1 changed files with 1 additions and 2 deletions
|
@ -173,8 +173,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
<br/>
|
||||
Cost: {formatWhole(unref(buildKiln.cost!))} {buildKiln.resource!.displayName}
|
||||
</>),
|
||||
onPurchase(cost) {
|
||||
activeFires.value = Decimal.sub(activeFires.value, cost!).max(0);
|
||||
onPurchase() {
|
||||
activeKilns.value = Decimal.add(activeKilns.value, 1);
|
||||
},
|
||||
style: {
|
||||
|
|
Loading…
Add table
Reference in a new issue