fix math bug oops

This commit is contained in:
Zoey 2023-04-23 11:46:26 -07:00
parent d96fd3b34b
commit dae8144447
No known key found for this signature in database
GPG key ID: 0E87B6A5795E040B

View file

@ -28,7 +28,7 @@
if (playAtRandom.checked) {
timeSincePlay += 1;
if (timeSincePlay >= 60) {
const v = random(randomChance.value);
const v = random(randomChance.value * 60);
if (v === 0) {
play();
timeSincePlay = 0;