1
0

Fix issue with petting state in animeCat.js

This commit is contained in:
2025-05-26 04:24:49 +02:00
parent 2e261ff1aa
commit eff8eaf8a3

View File

@@ -158,7 +158,7 @@ _bindMouseHold() {
const closeEyes = () => { this.img.src = this.images.eyesClosed; };
const reopenEyes = () => {
if (!joyActive && !this._isSpeaking) this.img.src = this.images.default;
if (!joyActive && !this._isSpeaking && !this._pettingActive) this.img.src = this.images.default;
};
this.img.addEventListener('mousedown', (e) => {