Spaces:
Running
Running
Upload function.html
Browse files- function.html +7 -1
function.html
CHANGED
|
@@ -1541,7 +1541,13 @@
|
|
| 1541 |
|
| 1542 |
// Delay for user to see the result matches the line before unlocking
|
| 1543 |
// Extended delay to 3.5s to ensure they see the point on the line
|
| 1544 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1545 |
} else {
|
| 1546 |
playSound('alarm');
|
| 1547 |
// Use on-screen hint instead of alert
|
|
|
|
| 1541 |
|
| 1542 |
// Delay for user to see the result matches the line before unlocking
|
| 1543 |
// Extended delay to 3.5s to ensure they see the point on the line
|
| 1544 |
+
// Delay for user to see the result matches the line before unlocking
|
| 1545 |
+
// Extended delay to 3.5s to ensure they see the point on the line
|
| 1546 |
+
setTimeout(() => {
|
| 1547 |
+
const guide = document.querySelector('.text-green-400.animate-pulse');
|
| 1548 |
+
if (guide) guide.remove();
|
| 1549 |
+
enterPhase(STATE.PHASE5_UNLOCK);
|
| 1550 |
+
}, 3500);
|
| 1551 |
} else {
|
| 1552 |
playSound('alarm');
|
| 1553 |
// Use on-screen hint instead of alert
|