Fix wetter dyes upgrade

This commit is contained in:
thepaperpilot 2022-12-10 18:39:00 -06:00
parent 8e97fd3e4f
commit 1a4beb4f4e

View file

@ -101,9 +101,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
multiplier: 2, multiplier: 2,
description: "Wetter Dyes", description: "Wetter Dyes",
enabled: () => enabled: () =>
(upgrades.yellowDyeUpg.bought.value && options.color == "red") || upgrades.yellowDyeUpg.bought.value &&
options.color == "yellow" || (options.color == "red" || options.color == "yellow" || options.color == "blue")
options.color == "blue"
})) }))
]) as WithRequired<Modifier, "description" | "revert">; ]) as WithRequired<Modifier, "description" | "revert">;
const computedToGenerate = computed(() => toGenerate.apply(0)); const computedToGenerate = computed(() => toGenerate.apply(0));