Fix manual tree cutting giving too many logs

This commit is contained in:
Seth Posner 2022-12-06 12:18:50 -08:00
parent 99670cc488
commit f222d7eb5b

View file

@ -451,7 +451,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
)
)
);
logs.value = Decimal.add(logs.value, logGain.apply(amount));
logs.value = Decimal.add(logs.value, Decimal.times(logGain.apply(1), amount));
saplings.value = Decimal.add(saplings.value, amount);
manualCutProgress.value = 0;
}