Fix chance of salto in _runJoyAnimation
This commit is contained in:
@@ -390,7 +390,7 @@ _runJoyAnimation(onFinish) {
|
|||||||
img.src = this.images.joy || this.images.default;
|
img.src = this.images.joy || this.images.default;
|
||||||
|
|
||||||
// 20% Chance auf Salto!
|
// 20% Chance auf Salto!
|
||||||
const salto = Math.random() < 1;
|
const salto = Math.random() < 0.2;
|
||||||
|
|
||||||
// Bubble abkoppeln wie gehabt
|
// Bubble abkoppeln wie gehabt
|
||||||
this.container.appendChild(this.bubble);
|
this.container.appendChild(this.bubble);
|
||||||
|
|||||||
Reference in New Issue
Block a user