From a424189a830f44f62d18b1b28aba5fd5e4bb0889 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 04:25:02 +0200 Subject: [PATCH] Fix issue with petting state in animeCat.js --- animeCat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index 72727cf..ae006dd 100644 --- a/animeCat.js +++ b/animeCat.js @@ -218,7 +218,7 @@ _bindMouseHold() { this.img.src = this.images.mouthOpen || this.images.default; this._startBlinking(); setTimeout(() => { - if (!joyActive && !this._isSpeaking) this.img.src = this.images.default; + if (!joyActive && !this._isSpeaking && !this._pettingActive) this.img.src = this.images.default; }, mouthOpenTime); } else {