mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-14 01:51:40 +00:00
fix negative fire bug
This commit is contained in:
parent
84f4f94e4a
commit
e79a5edd7f
1 changed files with 1 additions and 0 deletions
|
@ -804,6 +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)
|
||||
});
|
||||
|
||||
const { total: totalCoal, trackerDisplay } = setUpDailyProgressTracker({
|
||||
|
|
Loading…
Add table
Reference in a new issue