mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-22 06:01:40 +00:00
why is .max() not a thing
This commit is contained in:
parent
e79a5edd7f
commit
21dda55cb6
1 changed files with 1 additions and 1 deletions
|
@ -804,7 +804,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
trees.logs.value = Decimal.times(diff, computedLogConsumption.value).plus(trees.logs.value);
|
||||
coal.value = Decimal.times(diff, computedCoalGain.value).plus(coal.value);
|
||||
ash.value = Decimal.times(diff, computedAshGain.value).plus(ash.value);
|
||||
activeFires.value = activeFires.value.max(0)
|
||||
activeFires.value = Decimal.max(activeFires.value, 0)
|
||||
});
|
||||
|
||||
const { total: totalCoal, trackerDisplay } = setUpDailyProgressTracker({
|
||||
|
|
Loading…
Add table
Reference in a new issue