Spin Counter fixes

This commit is contained in:
bingus_violet 2024-06-29 16:13:49 -05:00
parent 50ea2225a6
commit dcf99afbe6
2 changed files with 3 additions and 4 deletions

View file

@ -78,7 +78,8 @@ function spinLoop() {
}
spins += 1/spinSpeed / spinFactor
if (Math.floor(spins) != lastSent && sock && sock.OPEN) {
$(".globalSpins").innerHTML = globalSpins + 1
console.log("RAH")
$(".globalSpins").text(globalSpins + 1)
lastSent = Math.floor(spins)
// resetPFP()
sock.send(`{"op": 4}`)