From 35ef5dfebddf1aba4758075615c61c1caaa7eeab Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 07:22:06 +0200 Subject: [PATCH] Fix chance of salto in _runJoyAnimation --- animeCat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index a4a3b27..fddebbd 100644 --- a/animeCat.js +++ b/animeCat.js @@ -390,7 +390,7 @@ _runJoyAnimation(onFinish) { img.src = this.images.joy || this.images.default; // 20% Chance auf Salto! - const salto = Math.random() < 1; + const salto = Math.random() < 0.2; // Bubble abkoppeln wie gehabt this.container.appendChild(this.bubble);