fixes type error

This commit is contained in:
circle-gon 2022-12-13 08:26:17 -05:00 committed by GitHub
parent aec06a6b26
commit 957de9c298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1027,7 +1027,7 @@ const layer = createLayer(id, () => {
}, },
canClick: () => Decimal.eq(focusCooldown.value, 0), canClick: () => Decimal.eq(focusCooldown.value, 0),
onClick() { onClick() {
focusCooldown.value = cooldown.value; focusCooldown.value = Decimal.fromValue(cooldown.value).toNumber();
focusTime.value = 10; focusTime.value = 10;
rerollFocusTargets(12, maximumElves.value); rerollFocusTargets(12, maximumElves.value);
} }