Confetti time check fix (needs revision?)

This commit is contained in:
octospacc 2022-04-23 00:22:53 +02:00
parent 0293db6a8d
commit 3f8f0ad8a7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}