diff --git a/changelog.md b/changelog.md index 795a6c0..84f3142 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ # The Modding Tree changelog: +- Fixed using text inputs for Numbers. + # v2.5.8 - 5/17/21 - Added makeShinies, which creates a stationary particle in a random spot. - Bars will visually update more quickly. diff --git a/js/utils.js b/js/utils.js index d692278..d950d03 100644 --- a/js/utils.js +++ b/js/utils.js @@ -337,7 +337,7 @@ function toValue(value, oldValue) { if (oldValue instanceof Decimal) return new Decimal (value) if (!isNaN(oldValue)) - return parseInt(value, 10) + return parseFloat(value) return value }