Spin count
This commit is contained in:
parent
4efc1e09b3
commit
df49e37654
1 changed files with 2 additions and 1 deletions
|
@ -9,9 +9,10 @@ function notif(text) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function secondLoop() {
|
function secondLoop() {
|
||||||
|
var pfp = document.querySelector(".pfp")
|
||||||
if (!catsOnMars.paused) {
|
if (!catsOnMars.paused) {
|
||||||
spins += 0.5
|
spins += 0.5
|
||||||
document.querySelector(".spinnyCount").innerHTML = `You have spun Violet ${Math.floor(spins)} times!`
|
document.querySelector(".spinnyCount").innerHTML = `You have spun Violet ${Math.floor(spins)} times!` + pfp.style.animationDuration
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
Loading…
Reference in a new issue