Fix tree modifier display

This commit is contained in:
Seth Posner 2022-12-01 15:29:38 -08:00
parent 1e0bf4b5bf
commit 8dbcb88562

View file

@ -370,7 +370,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [ const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [
{ {
title: "Log Gain", title: "Logs per Tree",
modifier: logGain, modifier: logGain,
base: 1, base: 1,
visible: researchUpgrade1.bought visible: researchUpgrade1.bought
@ -392,12 +392,14 @@ const layer = createLayer(id, function (this: BaseLayer) {
{ {
title: `Auto Cutting Amount`, title: `Auto Cutting Amount`,
modifier: autoCuttingAmount, modifier: autoCuttingAmount,
base: 0,
visible: autoCutUpgrade1.bought, visible: autoCutUpgrade1.bought,
unit: "/s" unit: "/s"
}, },
{ {
title: `Auto Planting Amount`, title: `Auto Planting Amount`,
modifier: autoPlantingAmount, modifier: autoPlantingAmount,
base: 0,
visible: autoPlantUpgrade1.bought, visible: autoPlantUpgrade1.bought,
unit: "/s" unit: "/s"
} }