Fixed trying to write to computed ref

This commit is contained in:
thepaperpilot 2022-12-23 22:30:37 -06:00
parent a9daaa3ac3
commit f861787a27

View file

@ -93,7 +93,6 @@ const layer = createLayer(id, () => {
if (!unref(makeRibbon.canClick)) {
return;
}
currentDyeType.value.amount.value = 0;
currentDyeType.value.buyable.amount.value = 0;
cloth.cloth.value = Decimal.sub(cloth.cloth.value, 1e9);
ribbon.value = Decimal.add(ribbon.value, 1);