fix minification
Some checks failed
ci/woodpecker/push/publish Pipeline failed

This commit is contained in:
Mylloon 2023-04-14 20:18:53 +02:00
parent 9201514f53
commit 2067580aba
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -139,7 +139,7 @@ const oneko = () => {
const idle = () => {
idleTime++;
// every ~ 20 seconds
/* every ~ 20 seconds */
if (
idleTime > 10 &&
Math.floor(Math.random() * 200) == 0 &&
@ -208,7 +208,7 @@ const oneko = () => {
if (idleTime > 1) {
setSprite("alert", 0);
// count down after being alerted before moving
/* count down after being alerted before moving */
idleTime = Math.min(idleTime, 7);
idleTime -= 1;
return;