This commit is contained in:
parent
9201514f53
commit
2067580aba
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue