diff --git a/public/Assets/JS/CurrentAgeRenderIndex.js b/public/Assets/JS/CurrentAgeRenderIndex.js index 89af762..56d057f 100644 --- a/public/Assets/JS/CurrentAgeRenderIndex.js +++ b/public/Assets/JS/CurrentAgeRenderIndex.js @@ -39,7 +39,7 @@ async function Confetti() { function UpdateAge() { let Years = UnixToYears(); CurrentAgeElem.innerHTML = "Currently " + Years + " years old.."; - if ((Years % 1 == 0) && (!ConfettiCalled)) { + if ((Years % 1 < 0.0000001) && (!ConfettiCalled)) { Confetti(); ConfettiCalled = true; }