Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -118,7 +118,7 @@
|
|
118 |
ball.style.top = ballPosition.top + '%';
|
119 |
platform.style.left = platformPosition + '%';
|
120 |
isCaught = false;
|
121 |
-
// Set kecepatan bola ke nilai default
|
122 |
fallSpeed = 0.5;
|
123 |
}
|
124 |
|
|
|
118 |
ball.style.top = ballPosition.top + '%';
|
119 |
platform.style.left = platformPosition + '%';
|
120 |
isCaught = false;
|
121 |
+
// Set kecepatan bola ke nilai default setiap kali permainan direset
|
122 |
fallSpeed = 0.5;
|
123 |
}
|
124 |
|