Skip to content

Commit eb557df

Browse files
committed
fixed collision reset bug
1 parent 07b3e58 commit eb557df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/gravity-flip-pinball/script.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ function showVictoryModal() {
254254
timerInterval = null;
255255
}
256256

257+
collisions = 0;
258+
257259
const modal = document.getElementById("victoryModal");
258260
const title = document.getElementById("victoryTitle");
259261
const message = document.getElementById("victoryMessage");

0 commit comments

Comments
 (0)